From f3b4cc016033ba0c2123ded8c4ed35a1cd8ef26f Mon Sep 17 00:00:00 2001 From: ziajka Date: Wed, 13 Jun 2018 19:16:43 +0200 Subject: [PATCH] Fix tests --- tests/controller/test_project.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 6a0177e2..453f1d47 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -165,7 +165,6 @@ def test_add_node_local(async_run, controller): "name": project._name, "project_id": project._id, "path": project._path, - "variables": None }) compute.post.assert_any_call('/projects/{}/vpcs/nodes'.format(project.id), data={'node_id': node.id, @@ -193,8 +192,7 @@ def test_add_node_non_local(async_run, controller): compute.post.assert_any_call('/projects', data={ "name": project._name, - "project_id": project._id, - "variables": None + "project_id": project._id }) compute.post.assert_any_call('/projects/{}/vpcs/nodes'.format(project.id), data={'node_id': node.id, @@ -234,8 +232,7 @@ def test_add_node_from_appliance(async_run, controller): compute.post.assert_any_call('/projects', data={ "name": project._name, "project_id": project._id, - "path": project._path, - "variables": None + "path": project._path }) compute.post.assert_any_call('/projects/{}/vpcs/nodes'.format(project.id), data={'node_id': node.id,