Пример #1
0
def test_get_config_location():
    """ Get the config location from setuptools """
    cfg = Config()
    filename = cfg.get_config_path()
    assert "asset_allocation.ini" in filename
Пример #2
0
def test_user_config_created():
    """ test if the user configuration instance is created """
    cfg = Config()
    ini_path = cfg.get_config_path()
    assert ini_path is not None