aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/python_moonclient/tests/unit_python/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/python_moonclient/tests/unit_python/test_config.py')
-rw-r--r--moonv4/python_moonclient/tests/unit_python/test_config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/moonv4/python_moonclient/tests/unit_python/test_config.py b/moonv4/python_moonclient/tests/unit_python/test_config.py
new file mode 100644
index 00000000..21b5f630
--- /dev/null
+++ b/moonv4/python_moonclient/tests/unit_python/test_config.py
@@ -0,0 +1,8 @@
+import pytest
+import utilities
+
+
+def test_authz_request():
+ from python_moonclient import config
+ conf_data = config.get_config_data("consul", 8500)
+ assert isinstance(conf_data, dict)