Changeset 7dc1f81 in OpenWorkouts-current for ow/tests/models/test_user.py
- Timestamp:
- Feb 17, 2019, 6:25:52 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- bfbf428
- Parents:
- 23b5569
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/tests/models/test_user.py
r23b5569 r7dc1f81 43 43 email = root['john'].email 44 44 uid = str(root['john'].uid) 45 assert root['john'].__str__() == u'User: ' + email + ' (' + uid + ')' 45 assert root['john'].__str__() == u'User: ' + uid + ' (' + email + ')' 46 47 def test__repr__(self, root): 48 email = root['john'].email 49 uid = str(root['john'].uid) 50 expected = u'<ow.models.user.User: ' + uid + ' (' + email + ')>' 51 assert root['john'].__repr__() == expected 46 52 47 53 def test_fullname(self, root):
Note: See TracChangeset
for help on using the changeset viewer.