def METHOD_NAME(self):
    newStatus = self.deployment.create_status(
        "queued",
        target_url="https://example.com/deployment.log",
        description="Deployment queued",
        environment="test",
        environment_url="https://example.com/environment",
        auto_inactive=True,
    )
    self.assertEqual(newStatus.id, 388454671)
    self.assertEqual(newStatus.state, "queued")
    self.assertEqual(
        newStatus.repository_url,
        "https://api.github.com/repos/jacquev6/PyGithub",
    )