aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_video_subtitles.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_video_subtitles.py')
-rw-r--r--packages/meshbay-hub/tests/test_video_subtitles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_video_subtitles.py b/packages/meshbay-hub/tests/test_video_subtitles.py
index 7fdc9cd..5a4b215 100644
--- a/packages/meshbay-hub/tests/test_video_subtitles.py
+++ b/packages/meshbay-hub/tests/test_video_subtitles.py
@@ -34,6 +34,7 @@ import subprocess
from pathlib import Path
import pytest
+from spa_source import transport_source
STATIC = Path(__file__).resolve().parents[1] / "src" / "meshbay_hub" / "static"
APP = STATIC / "video-player.js"
@@ -51,7 +52,7 @@ def app():
@pytest.fixture(scope="module")
def transport():
- return TRANSPORT.read_text()
+ return transport_source()
def _lift(src: str, name: str) -> str: