File size: 623 Bytes
e8055cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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")
|