Embed the appliances in the server.

This add a /appliances call
This commit is contained in:
Julien Duponchelle
2017-02-01 11:30:14 +01:00
parent 5204cec9e6
commit dc6756d5ae
96 changed files with 6346 additions and 1 deletions

View File

@ -465,3 +465,7 @@ def test_get_free_project_name(controller, async_run):
async_run(controller.add_project(project_id=str(uuid.uuid4()), name="Test-1"))
assert controller.get_free_project_name("Test") == "Test-2"
assert controller.get_free_project_name("Hello") == "Hello"
def test_appliances(controller):
assert len(controller.appliances) > 0