mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 07:18:18 +00:00
Delete a node work
This commit is contained in:
@ -148,7 +148,7 @@ def test_termination_callback(vm, async_run):
|
||||
async_run(queue.get(0)) # Ping
|
||||
|
||||
(action, event, kwargs) = async_run(queue.get(0))
|
||||
assert action == "node.stopped"
|
||||
assert action == "node.updated"
|
||||
assert event == vm
|
||||
|
||||
|
||||
@ -167,7 +167,7 @@ def test_termination_callback_error(vm, tmpdir, async_run):
|
||||
async_run(queue.get(0)) # Ping
|
||||
|
||||
(action, event, kwargs) = queue.get_nowait()
|
||||
assert action == "node.stopped"
|
||||
assert action == "node.updated"
|
||||
assert event == vm
|
||||
|
||||
(action, event, kwargs) = queue.get_nowait()
|
||||
|
Reference in New Issue
Block a user