Function
updated_objective_payload
(test_objective, test_goal)
Source from the content-addressed store, hash-verified
| 26 | |
| 27 | @pytest.fixture |
| 28 | def updated_objective_payload(test_objective, test_goal): |
| 29 | objective_data = test_objective.schema.dump(test_objective) |
| 30 | updated_goal = Goal(target='updated target', value='complete') |
| 31 | objective_data.update(dict(name='an updated test objective', |
| 32 | description='a test objective that has been updated', |
| 33 | goals=[updated_goal.schema.dump(updated_goal)])) |
| 34 | return objective_data |
| 35 | |
| 36 | |
| 37 | @pytest.fixture |
Callers
nothing calls this directly
Tested by
no test coverage detected