Exemplo n.º 1
0
def test_directory_structure():
    base = get_base_directory()
    output = get_output_directory()
    cache = get_cache_directory()
    assert "cache" in cache
    assert base in cache
    # Could be an env. variable
    if "model-runs" in output:
        assert base in output
Exemplo n.º 2
0
def test_directory_structure():
    base = get_base_directory()
    output = get_output_directory()
    cache = get_cache_directory()
    assert "cache" in cache
    assert base in cache
    # Could be an env. variable
    if "model-runs" in output:
        assert base in output
Exemplo n.º 3
0
def test_output_directory_envvar():
    os.environ["OCELOT_OUTPUT"] = os.getcwd()
    assert get_output_directory() == os.getcwd()
Exemplo n.º 4
0
def test_output_directory():
    assert get_output_directory()
Exemplo n.º 5
0
def test_output_directory_envvar():
    os.environ["OCELOT_OUTPUT"] = os.getcwd()
    assert get_output_directory() == os.getcwd()
Exemplo n.º 6
0
def test_output_directory():
    assert get_output_directory()