Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/parity/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def raven_root() -> Path:
"pytest -m parity"
)
path = Path(root)
if not (path / "io").is_dir():
if not (path / "src" / "io").is_dir():
pytest.skip(f"RAVEN_ROOT={path} does not look like a RAVEN checkout")
return path

Expand All @@ -46,8 +46,8 @@ def raven_models(raven_root: Path) -> dict[str, Path]:
These were written by MATLAB RAVEN's own ``writeYAMLmodel``, which makes
them reference data for the Python reader without needing MATLAB.
"""
tutorial = raven_root / "tutorial"
found = {p.name: p for p in sorted(tutorial.glob("*.yml"))}
tutorial = raven_root / "tutorials" / "data"
found = {p.name: p for p in sorted(tutorial.rglob("*.yml"))}
if not found:
pytest.skip(f"no YAML models under {tutorial}")
return found
Expand Down
Loading