Commit 7b5d34e4 authored by Tomas Vaagen Gule's avatar Tomas Vaagen Gule
Browse files

#10 Update tests

parent 898fd899
Pipeline #165840 passed with stages
in 1 minute and 55 seconds
......@@ -23,8 +23,12 @@ class UserSerializerTestCase(TestCase):
def test_create(self):
user = self.serializer.create(self.serializer, self.user_values)
print(user)
self.assertEquals(user.email, self.user_values.get("email"))
self.assertEquals(user.username, self.user_values.get("username"))
self.assertEquals(user.phone_number, self.user_values.get("phone_number"))
self.assertEquals(user.country, self.user_values.get("country"))
self.assertEquals(user.city, self.user_values.get("city"))
self.assertEquals(user.street_address, self.user_values.get("street_address"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment