Changeset 39b1497 in OpenWorkouts-current for ow/tests/models/test_root.py
- Timestamp:
- Dec 14, 2018, 12:57:33 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 929097a
- Parents:
- 5ec3a0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/tests/models/test_root.py
r5ec3a0b r39b1497 30 30 31 31 def test_lowercase_usernames(self, root): 32 root.add_user(u ser_id='Jack', firstname='Jack', lastname='Dumb',32 root.add_user(uid='Jack', firstname='Jack', lastname='Dumb', 33 33 email='jack.dumb@example.net') 34 34 assert root.lowercase_usernames() == ['jack', 'john'] … … 38 38 39 39 def test_lowercase_emails(self, root): 40 root.add_user(u ser_id='Jack', firstname='Jack', lastname='Dumb',40 root.add_user(uid='Jack', firstname='Jack', lastname='Dumb', 41 41 email='Jack.Dumb@example.net') 42 42 assert root.lowercase_emails() == ['jack.dumb@example.net', … … 55 55 def test_add_user(self, root): 56 56 assert len(root.users()) == 1 57 root.add_user(u ser_id='jack', firstname='Jack', lastname='Dumb',57 root.add_user(uid='jack', firstname='Jack', lastname='Dumb', 58 58 email='jack.dumb@example.net') 59 59 assert len(root.users()) == 2
Note: See TracChangeset
for help on using the changeset viewer.