aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/tests
diff options
context:
space:
mode:
authorAsteroide <thomas.duval@orange.com>2018-02-19 15:34:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-19 15:34:12 +0000
commite36a301b551e454ea8c28aa2beefd8f535d8f6fe (patch)
treec5e7fae4158b6c33b029a5397021e16731ace6d8 /moon_manager/tests
parentf4c44ba00f07c75099fbf0316c9e3bc53b83f30d (diff)
parentb38ecccb8ab9cd1e631f89c92f6b88e420b2a1b0 (diff)
Merge "Add the moon_pythonfunctest container to perform functionnal tests"
Diffstat (limited to 'moon_manager/tests')
-rw-r--r--moon_manager/tests/functional_pod/test_models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/moon_manager/tests/functional_pod/test_models.py b/moon_manager/tests/functional_pod/test_models.py
index dcda9f32..8b4ceef5 100644
--- a/moon_manager/tests/functional_pod/test_models.py
+++ b/moon_manager/tests/functional_pod/test_models.py
@@ -32,9 +32,10 @@ def delete_models(context, name):
request = None
for key, value in models['models'].items():
if value['name'] == name:
- request = requests.delete("http://{}:{}/models/{}".format(key,
+ request = requests.delete("http://{}:{}/models/{}".format(
context.get("hostname"),
- context.get("port")),
+ context.get("port"),
+ key),
timeout=3)
break
return request