diff options
author | 2018-01-03 14:23:22 +0100 | |
---|---|---|
committer | 2018-01-03 14:23:22 +0100 | |
commit | 17d1bd8c4c8fbd81af85edbde059a28a852a0deb (patch) | |
tree | 1a1360e961945f770d3b0feca621ccbf6cd84773 /moon_interface/tests/unit_python/api/test_authz.py | |
parent | 52d037e757ac2189978e1129f469929fe73a9b7f (diff) |
Clean the code and fix some bugs
Change-Id: I540aeea0af749f86f4c2378864b17d277517b85f
Diffstat (limited to 'moon_interface/tests/unit_python/api/test_authz.py')
-rw-r--r-- | moon_interface/tests/unit_python/api/test_authz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moon_interface/tests/unit_python/api/test_authz.py b/moon_interface/tests/unit_python/api/test_authz.py index a63948f8..84605203 100644 --- a/moon_interface/tests/unit_python/api/test_authz.py +++ b/moon_interface/tests/unit_python/api/test_authz.py @@ -7,7 +7,7 @@ def get_json(data): def test_authz_true(context): import moon_interface.server - server = moon_interface.server.main() + server = moon_interface.server.create_server() client = server.app.test_client() req = client.get("/authz/{p_id}/{s_id}/{o_id}/{a_id}".format( p_id=context["project_id"], |