mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 17:11:30 -08:00
update accounts/tests/test_user_model.py add test for __str__ method
This commit is contained in:
parent
d30af17e60
commit
058687d710
@ -45,3 +45,4 @@ class UserModelTestCase(TestCase):
|
||||
self.assertTrue(user_b.account.totp_key is None)
|
||||
self.assertFalse(user_b.account.use_totp)
|
||||
self.assertTrue(isinstance(user_b.account.pk, UUID))
|
||||
self.assertEquals(str(user_b.account), user_b.username)
|
||||
|
Loading…
Reference in New Issue
Block a user