Changeset bddf042 in OpenWorkouts-current for ow/tests/models/test_root.py
- Timestamp:
- Feb 10, 2019, 7:56:34 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- f29d4b4
- Parents:
- 4226ce0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/tests/models/test_root.py
r4226ce0 rbddf042 35 35 # a new OpenWorkouts instance has a catalog created automatically 36 36 assert isinstance(root.catalog, Catalog) 37 assert len(root.catalog) == 238 assert 'email' in root.catalog39 assert 'sport'in root.catalog37 assert len(root.catalog) == 3 38 for key in ['email', 'nickname', 'sport']: 39 assert key in root.catalog 40 40 41 41 def test_add_user_ok(self, root):
Note: See TracChangeset
for help on using the changeset viewer.