1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

update profile test

This commit is contained in:
zming
2017-09-12 16:07:08 +08:00
parent 74643bf676
commit 07fe7a1d23

View File

@@ -255,7 +255,7 @@ class AccountTest(BaseTestCase):
resp = self.client.get(reverse('api2-account', args=[new_user.username]))
json_resp = json.loads(resp.content)
assert len(json_resp) == 11
assert len(json_resp) == 12
assert json_resp['email'] == new_user.username
assert json_resp['is_staff'] is True
assert json_resp['is_active'] is True