Fix media test portability and e2e discovery

This commit is contained in:
saphid committed 2026-09-28 22:37:28 +10:00
1 parent 0d448ab510
commit c335cd5130
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ Steam accepts.
`tests/test_media.py` covers layout evidence and overrides, OU eye ordering,
hardware-decoder command construction, malformed splats, stereo parallax and
fake-Frame library/process ownership. `tests/e2e/test_media.py` checks the real
fake-Frame library/process ownership. `tests/e2e/test_media_transfer.py` checks the real
HTTP/SSH upload and library listing without pretending the fake renders VR.
Real decode timings and captured stereo output are recorded in
[vr-video.md](vr-video.md). Generated media only; no external player required.
File renamed without changes.
+1 -1
View File
@@ -48,7 +48,7 @@ class Media(unittest.TestCase):
self.assertIn(decoder, cmd)
self.assertIn('-re', cmd)
self.assertIn('pulse', cmd)
self.assertIn('/tmp/a file.mp4', cmd)
self.assertIn(str(Path('/tmp/a file.mp4')), cmd)
with self.assertRaises(ValueError):
player.decoder_command(Path('x.webm'), {'codec_name': 'vp9'}, 640, 480, False)
cmd = player.decoder_command(Path('x.png'), {'codec_name': 'png'}, 640, 480, False, True)