This commit is contained in:
Martin Pépin 2017-05-18 17:15:14 +01:00
parent f105b17e3f
commit a53a9249ef

View file

@ -24,7 +24,7 @@ class TestUserCreation(TestCase):
# The user redirection means successful form validation # The user redirection means successful form validation
self.assertRedirects(resp, "/") self.assertRedirects(resp, "/")
# The user should know exist # The user should now exist
user = ( user = (
User.objects User.objects
.filter(username=data["username"]) .filter(username=data["username"])