Repository navigation
Conversation
|
Looks good! Just one thing I was thinking about could we also add a test for the case where a run has a previous incomplete run? Since That would cover the sequential execution scenario as well. |
f12aa1b to
35f5d9c
Compare
Added a unit test covering the sequential execution scenario where a new run's can_start returns false while an earlier run is incomplete, and transitions to true once completed. Pushed the update to the branch. |
Issues
Changes
current_stepandcan_starttoRunSerializer.Meta.fieldsinscanpipe/api/serializers.py.current_stepandcan_startasread_only_fields.test_scanpipe_api_run_detailinscanpipe/tests/test_api.pyto assert thatcurrent_stepandcan_startare returned for both unstarted and started runs.Checklist