Link API should work now need to implement the client

This commit is contained in:
Julien Duponchelle committed 2016-03-11 20:13:52 +01:00
1 parent 6a19e4d822
commit 65099b9364
7 files changed
+163 -4

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@ def hypervisor():
def test_addVM(async_run, project, hypervisor):
vm1 = VM(project, hypervisor)
link = Link()
link = Link(project)
async_run(link.addVM(vm1, 0, 4))
assert link._vms == [
{
@@ -51,7 +51,7 @@ def test_json(async_run, project, hypervisor):
vm1 = VM(project, hypervisor)
vm2 = VM(project, hypervisor)
link = Link()
link = Link(project)
async_run(link.addVM(vm1, 0, 4))
async_run(link.addVM(vm2, 1, 3))
assert link.__json__() == {