Changeset fe6089a in OpenWorkouts-current for ow/tests/models/test_workout.py
- Timestamp:
- Dec 21, 2018, 11:11:44 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 64e8299
- Parents:
- 31adfa5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/tests/models/test_workout.py
r31adfa5 rfe6089a 59 59 def test_workout_id(self, root): 60 60 assert root['john']['1'].workout_id == '1' 61 62 def test_owner(self, root): 63 # workout with owner 64 assert root['john']['1'].owner == root['john'] 65 # workout without owner 66 w = Workout() 67 assert w.owner is None 61 68 62 69 def test_end(self, root):
Note: See TracChangeset
for help on using the changeset viewer.