aboutsummaryrefslogtreecommitdiffstats
path: root/python_moonclient/tests/unit_python/test_config.py
blob: e4effec6a392f3d6799ec2d56ba480764c88b1f9 (plain)
1
2
3
4
5
6
7
8
from python_moonclient.core.cli_exceptions import  MoonCliException


def test_authz_request():
    from python_moonclient.core import config
    conf_data = config.get_config_data("consul", 8500)
    if not isinstance(conf_data, dict):
        raise MoonCliException("Unexpected error : the conf data is not a dictionnary")