aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_authz/tests
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2017-12-22 11:12:58 +0100
committerThomas Duval <thomas.duval@orange.com>2017-12-22 11:12:58 +0100
commit07414f03ddd0c62a919b387026c1b48225edcfd9 (patch)
treeac85c442f7c349de37b42cf23c1f72dc12b3ed0e /moonv4/moon_authz/tests
parent26eecaa8cc7352822c9037fce68e201720dc8412 (diff)
Update libraries name in the platform
Change-Id: I743254aa58e2fb57b78c23ebc9f5c69049b4905d
Diffstat (limited to 'moonv4/moon_authz/tests')
-rw-r--r--moonv4/moon_authz/tests/unit_python/requirements.txt4
-rw-r--r--moonv4/moon_authz/tests/unit_python/test_authz.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/moonv4/moon_authz/tests/unit_python/requirements.txt b/moonv4/moon_authz/tests/unit_python/requirements.txt
index 8bd8449f..21975ce3 100644
--- a/moonv4/moon_authz/tests/unit_python/requirements.txt
+++ b/moonv4/moon_authz/tests/unit_python/requirements.txt
@@ -1,5 +1,5 @@
flask
flask_cors
flask_restful
-moon_db
-moon_utilities \ No newline at end of file
+python_moondb
+python_moonutilities \ No newline at end of file
diff --git a/moonv4/moon_authz/tests/unit_python/test_authz.py b/moonv4/moon_authz/tests/unit_python/test_authz.py
index 147f7c5d..f98abebc 100644
--- a/moonv4/moon_authz/tests/unit_python/test_authz.py
+++ b/moonv4/moon_authz/tests/unit_python/test_authz.py
@@ -12,8 +12,8 @@ def get_json(data):
def test_authz_true(context):
import moon_authz.server
- from moon_utilities.security_functions import Context
- from moon_utilities.cache import Cache
+ from python_moonutilities.security_functions import Context
+ from python_moonutilities.cache import Cache
server = moon_authz.server.main()
client = server.app.test_client()
CACHE = Cache()
@@ -33,8 +33,8 @@ def test_authz_true(context):
def test_user_not_allowed(context):
import moon_authz.server
- from moon_utilities.security_functions import Context
- from moon_utilities.cache import Cache
+ from python_moonutilities.security_functions import Context
+ from python_moonutilities.cache import Cache
server = moon_authz.server.main()
client = server.app.test_client()
CACHE = Cache()