Add a test for the user creation view #17

Merged
mpepin merged 3 commits from Kerl/test_user_creation into master 2017-05-18 18:45:39 +02:00
Showing only changes of commit f105b17e3f - Show all commits

View file

@ -29,6 +29,6 @@ class TestUserCreation(TestCase):
User.objects
.filter(username=data["username"])
.values(*user_data.keys())
[0]
.get()
)
self.assertEqual(user_data, user)