From b38ecccb8ab9cd1e631f89c92f6b88e420b2a1b0 Mon Sep 17 00:00:00 2001 From: "francois.cellier" Date: Tue, 13 Feb 2018 13:06:51 +0100 Subject: Add the moon_pythonfunctest container to perform functionnal tests Change-Id: I2be863862ce7df408f759664b10af45416b3d712 --- moon_manager/tests/functional_pod/test_models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'moon_manager/tests/functional_pod') 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 -- cgit 1.2.3-korg