From 8fa7ddf12eb814d649f74232a36bea23b91ffa3f Mon Sep 17 00:00:00 2001 From: LV-426 Date: Mon, 6 Oct 2014 17:37:26 +0300 Subject: fix REST query path --- src-py/test_rhizi_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-py') diff --git a/src-py/test_rhizi_api.py b/src-py/test_rhizi_api.py index 6faab51c..9749dfe9 100644 --- a/src-py/test_rhizi_api.py +++ b/src-py/test_rhizi_api.py @@ -42,7 +42,7 @@ class TestRhiziAPI(unittest.TestCase): """ id_set = ['non_existing_id'] with rhizi_api.webapp.test_client() as c: - req = c.post('/load/node-set', + req = c.post('/load/node-set-by-id', content_type='application/json', data=json.dumps({ 'id_set': id_set})) req_data = json.loads(req.data) -- cgit v1.3.1