Skip to content

Commit

Permalink
fix unit test to use a non-default QID
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Aug 16, 2024
1 parent f3f6ba0 commit 491837c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/test/test_workflow_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_queue_state_cache(self):
queue.update_queue_state_cache(10, 'COMPLETED')
qstates = queue.get_queue_states_from_qids(qids, use_cache=True, dry_run=3)
# should be ['PENDING', 'COMPLETED', 'FAILED', 'FAILED']
self.assertEqual(qstates[1], 'PENDING')
self.assertEqual(qstates[11], 'PENDING')
self.assertEqual(qstates[10], 'COMPLETED')
self.assertEqual(qstates[2], 'FAILED')
self.assertEqual(qstates[5], 'FAILED')
Expand Down

0 comments on commit 491837c

Please sign in to comment.