def METHOD_NAME(self):
    response = self.client.post(
        wiki_settings.SIGNUP_URL,
        data={
            "password1": SIGNUP_TEST_PASSWORD,
            "password2": SIGNUP_TEST_PASSWORD,
            "username": SIGNUP_TEST_USERNAME,
            "email": "wiki@wiki.com",
        },
    )
    self.assertIs(CustomUser.objects.filter(email="wiki@wiki.com").exists(), True)
    self.assertRedirects(response, reverse("wiki:login"))
    # Test that signing up the same user again gives a validation error
    # Regression test: https://github.com/django-wiki/django-wiki/issues/1152
    response = self.client.post(
        wiki_settings.SIGNUP_URL,
        data={
            "password1": SIGNUP_TEST_PASSWORD,
            "password2": SIGNUP_TEST_PASSWORD,
            "username": SIGNUP_TEST_USERNAME,
            "email": "wiki@wiki.com",
        },
    )
    self.assertIs(response.status_code, 200)
    self.assertContains(response, "username already exists")