This commit is contained in:
Julien Duponchelle committed 2016-03-07 17:57:12 +01:00
1 parent 664cec97ba
commit b2ce7ee8d7
200 files changed
+867 -625

No files matched your search

+2 -11
View File
@@ -119,7 +119,7 @@ def http_controller(loop, http_server):
Return an helper allowing you to call the server API without any prefix
"""
host, port = http_server
return Query(loop, host=host, port=port, prefix="/controller", api_version=1)
return Query(loop, host=host, port=port, prefix="/controller", api_version=2)
@pytest.fixture
@@ -128,16 +128,7 @@ def http_hypervisor(loop, http_server):
Return an helper allowing you to call the hypervisor API via HTTP
"""
host, port = http_server
return Query(loop, host=host, port=port, prefix="/hypervisor", api_version=1)
@pytest.fixture
def http_api(loop, http_server):
"""
Return an helper allowing you to call the root API via HTTP
"""
host, port = http_server
return Query(loop, host=host, port=port, api_version=1)
return Query(loop, host=host, port=port, prefix="/hypervisor", api_version=2)
@pytest.fixture(scope="function")