mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
All params for qemu
This commit is contained in:
1 parent
d0244824bf
commit
48f5c7c8b3
5 files changed
+139
-104
No files matched your search
@@ -196,3 +196,10 @@ def test_set_process_priority(vm, loop, fake_qemu_img_binary):
|
||||
assert process.called
|
||||
args, kwargs = process.call_args
|
||||
assert args == ("renice", "-n", "5", "-p", "42")
|
||||
|
||||
|
||||
def test_json(vm, project):
|
||||
|
||||
json = vm.__json__()
|
||||
assert json["name"] == vm.name
|
||||
assert json["project_id"] == project.id
|
||||
Reference in new issue
Block a user