Skip to content

Commit

Permalink
Update unit test to assert that the put() method changing task's stat…
Browse files Browse the repository at this point in the history
…e was not called
  • Loading branch information
karenbraganz committed Dec 23, 2024
1 parent 11b62b3 commit c806df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ def test_process_status_pending_deleted(self):
self.pod.metadata.deletion_timestamp = timezone.utcnow()

self._run()
self.assert_watcher_queue_called_once_with_state(State.QUEUED)
self.watcher.watcher_queue.put.assert_not_called()

def test_process_status_failed(self):
self.pod.status.phase = "Failed"
Expand Down

0 comments on commit c806df6

Please sign in to comment.