aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/python_moonutilities
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/python_moonutilities')
-rw-r--r--moonv4/python_moonutilities/Changelog4
-rw-r--r--moonv4/python_moonutilities/python_moonutilities/__init__.py2
-rw-r--r--moonv4/python_moonutilities/tests/unit_python/test_cache.py16
-rw-r--r--moonv4/python_moonutilities/tests/unit_python/test_configuration.py2
4 files changed, 14 insertions, 10 deletions
diff --git a/moonv4/python_moonutilities/Changelog b/moonv4/python_moonutilities/Changelog
index 3eaf7894..aba5f7c4 100644
--- a/moonv4/python_moonutilities/Changelog
+++ b/moonv4/python_moonutilities/Changelog
@@ -62,3 +62,7 @@ CHANGES
1.4.1
-----
- Cleanup moon_utilities code
+
+1.4.2
+-----
+- Update the name of the library (from moon_utilities)
diff --git a/moonv4/python_moonutilities/python_moonutilities/__init__.py b/moonv4/python_moonutilities/python_moonutilities/__init__.py
index e3ad9307..bbd31082 100644
--- a/moonv4/python_moonutilities/python_moonutilities/__init__.py
+++ b/moonv4/python_moonutilities/python_moonutilities/__init__.py
@@ -3,4 +3,4 @@
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
-__version__ = "1.4.1"
+__version__ = "1.4.2"
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
diff --git a/moonv4/python_moonutilities/tests/unit_python/test_configuration.py b/moonv4/python_moonutilities/tests/unit_python/test_configuration.py
index 0ebff995..48699062 100644
--- a/moonv4/python_moonutilities/tests/unit_python/test_configuration.py
+++ b/moonv4/python_moonutilities/tests/unit_python/test_configuration.py
@@ -1,5 +1,5 @@
def test_get_components():
- from moon_utilities import configuration
+ from python_moonutilities import configuration
assert isinstance(configuration.get_components(), dict)