def METHOD_NAME(self):
    self.assertEqual(self.project.domains.count(), 0)
    resp = self.client.post(
        reverse("projects_domains_create", args=[self.project.slug]),
        data={"domain": "test.example.com"},
    )
    self.assertEqual(resp.status_code, 302)
    self.assertEqual(self.project.domains.count(), 1)
    domain = self.project.domains.first()
    self.assertEqual(domain.domain, "test.example.com")