From 07414f03ddd0c62a919b387026c1b48225edcfd9 Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Fri, 22 Dec 2017 11:12:58 +0100 Subject: Update libraries name in the platform Change-Id: I743254aa58e2fb57b78c23ebc9f5c69049b4905d --- .../python_moonutilities/tests/unit_python/test_cache.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'moonv4/python_moonutilities/tests/unit_python/test_cache.py') diff --git a/moonv4/python_moonutilities/tests/unit_python/test_cache.py b/moonv4/python_moonutilities/tests/unit_python/test_cache.py index 3d4f7292..c479395b 100644 --- a/moonv4/python_moonutilities/tests/unit_python/test_cache.py +++ b/moonv4/python_moonutilities/tests/unit_python/test_cache.py @@ -2,13 +2,13 @@ import pytest def test_authz_request(): - from moon_utilities import cache + from python_moonutilities import cache c = cache.Cache() assert isinstance(c.authz_requests, dict) def test_get_subject_success(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'subject_name' @@ -17,7 +17,7 @@ def test_get_subject_success(): def test_get_subject_failure(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'invalid name' @@ -27,7 +27,7 @@ def test_get_subject_failure(): def test_get_object_success(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'object_name' @@ -36,7 +36,7 @@ def test_get_object_success(): def test_get_object_failure(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'invalid name' @@ -46,7 +46,7 @@ def test_get_object_failure(): def test_get_action_success(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'action_name' @@ -55,7 +55,7 @@ def test_get_action_success(): def test_get_action_failure(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() policy_id = 'policy_id_1' name = 'invalid name' @@ -65,7 +65,7 @@ def test_get_action_failure(): def test_cache_manager(): - from moon_utilities import cache + from python_moonutilities import cache cache_obj = cache.Cache() assert cache_obj.pdp is not None assert cache_obj.meta_rules is not None -- cgit 1.2.3-korg