Fix tests

This commit is contained in:
grossmj committed 2024-11-17 15:00:13 +10:00
1 parent 31a2cb998d
commit b37db57bb9
3 files changed
+6 -8

No files matched your search

+2 -2
View File
@@ -202,11 +202,11 @@ async def test_termination_callback_error(vm, tmpdir):
await queue.get(1) # Ping
(action, event, kwargs) = queue.get_nowait()
(action, event, kwargs) = await queue.get(1)
assert action == "node.updated"
assert event == vm
(action, event, kwargs) = queue.get_nowait()
(action, event, kwargs) = await queue.get(1)
assert action == "log.error"
assert event["message"] == "QEMU process has stopped, return code: 1\nBOOMM"