From: peusterm Date: Thu, 12 May 2016 14:12:57 +0000 (+0200) Subject: next try, this sh*** lib drives me crazy X-Git-Tag: v3.1~126^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=b63a5b4d2e960b176c6547f826419adc44a7f9cf;p=osm%2Fvim-emu.git next try, this sh*** lib drives me crazy --- 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