diff --git a/docs/testing.md b/docs/testing.md index d8f7020..9a35a34 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -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. diff --git a/tests/e2e/test_media.py b/tests/e2e/test_media_transfer.py similarity index 100% rename from tests/e2e/test_media.py rename to tests/e2e/test_media_transfer.py diff --git a/tests/test_media.py b/tests/test_media.py index 4d441f1..3434b70 100644 --- a/tests/test_media.py +++ b/tests/test_media.py @@ -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)