aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/tests/functional_pod
diff options
context:
space:
mode:
authorfrancois.cellier <francois.cellier@orange.com>2018-02-13 13:06:51 +0100
committerfrancois.cellier <francois.cellier@orange.com>2018-02-13 17:01:47 +0100
commitb38ecccb8ab9cd1e631f89c92f6b88e420b2a1b0 (patch)
tree8403f71cef84a5761f533bb6fc7aa08daa234f16 /moon_manager/tests/functional_pod
parent4841ea360bb6feec4d2c644040e12a2657769634 (diff)
Add the moon_pythonfunctest container to perform functionnal tests
Change-Id: I2be863862ce7df408f759664b10af45416b3d712
Diffstat (limited to 'moon_manager/tests/functional_pod')
-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