Ejemplo n.º 1
0
def show():
    """ Show the contents of the current config file """
    cfg = Config()
    # file_path = cfg.get_config_path()
    contents = cfg.get_contents()
    print(contents)
Ejemplo n.º 2
0
def test_config_read():
    """ Read config file """
    cfg = Config("data/asset_allocation.ini")
    content = cfg.get_contents()

    assert content is not None