Tidy up unit tests further + make more non-download

This commit is contained in:
Patrick Robertson
2025-03-24 15:26:22 +04:00
parent e811196711
commit 396ec03bae
4 changed files with 15 additions and 16 deletions

View File

@@ -145,7 +145,7 @@ def sample_media(tmp_path) -> Media:
"""Fixture creating a Media object with temporary source file"""
src_file = tmp_path / "source.txt"
src_file.write_text("test content")
return Media(key="subdir/test.txt", filename=str(src_file))
return Media(_key="subdir/test.txt", filename=str(src_file))
@pytest.fixture