From b63a5b4d2e960b176c6547f826419adc44a7f9cf Mon Sep 17 00:00:00 2001 From: peusterm Date: Thu, 12 May 2016 16:12:57 +0200 Subject: [PATCH] next try, this sh*** lib drives me crazy --- src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py b/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py index 375087d..cbf9c8b 100755 --- a/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py +++ b/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py @@ -37,7 +37,7 @@ class testSonataDummyGatekeeper(SimpleTestTopology): # instantiate service service_uuid = json.loads(r.text).get("service_uuid") - r2 = requests.post("http://127.0.0.1:5000/instantiations", json={"service_uuid": service_uuid}) + r2 = requests.post("http://127.0.0.1:5000/instantiations", data=json.dumps({"service_uuid": service_uuid})) self.assertEqual(r2.status_code, 200) # give the emulator some time to instantiate everything -- 2.25.1