workspace / tests /test_F /test_run.py
AntonioJun's picture
Replace tests with local workspace contents
e8055cf verified
Raw
History Blame Contribute Delete
623 Bytes
from pathlib import Path
from harness import F
from harness.F import run
def test_results_default_under_root():
assert F.RESULTS_DIR == Path("/root/results/F")
def test_perceived_layout_contains_every_input_axis():
assert run.results_dir_for(
"perceived", "explicit", "metric", "tracking", "uniform", 32
) == Path("/root/results/F/perceived/metric/tracking/uniform/32/explicit")
def test_video_results_use_video_branch():
assert run.results_dir_for(
"perceived", "explicit", "metric", "tracking", "video", None
) == Path("/root/results/F/perceived/metric/tracking/video/explicit")