Skip to content

Commit

Permalink
Fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
dacofr committed Nov 28, 2024
1 parent 3fa3ba5 commit 85b5494
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/fiaas_deploy_daemon/crd/test_crd_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,11 @@ def test_deploy(
assert deployer_event == DeployerEvent(deployer_event_type, app_spec, None)
assert deploy_queue.empty()

def test_delete(self, deploy_queue, watcher):
def test_delete(self, crd_watcher, deploy_queue, watcher):
watcher.watch.return_value = [WatchEvent(DELETED_EVENT, FiaasApplication)]

crd_watcher._watch(None)

assert deploy_queue.empty()

@pytest.mark.parametrize("namespace", [None, "default"])
Expand Down

0 comments on commit 85b5494

Please sign in to comment.