Пример #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
Пример #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
Пример #3
0
def test_fake_output_dir_fixture(fake_output_dir):
    assert "Ocelot" not in get_cache_directory()
Пример #4
0
def test_cache_directory():
    assert get_cache_directory()
Пример #5
0
def test_fake_output_dir_fixture(fake_output_dir):
    tempdir.reset()
    assert "Ocelot" not in get_cache_directory()
Пример #6
0
def test_cache_directory():
    assert get_cache_directory()
Пример #7
0
def test_fake_output_dir_fixture(fake_output_dir):
    assert "Ocelot" not in get_cache_directory()