aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests')
-rw-r--r--packages/meshbay-hub/tests/test_cast_discovery.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/meshbay-hub/tests/test_cast_discovery.py b/packages/meshbay-hub/tests/test_cast_discovery.py
index 8bbe3c7..8d156ff 100644
--- a/packages/meshbay-hub/tests/test_cast_discovery.py
+++ b/packages/meshbay-hub/tests/test_cast_discovery.py
@@ -145,9 +145,8 @@ def test_the_player_is_a_remote_while_casting():
def test_every_locale_names_the_remote_controls():
from spa_source import STATIC
- keys = ["cast.playing_on", "cast.waiting", "cast.back30", "cast.fwd30", "cast.play", "cast.pause"]
+ keys = ["cast.casting_to", "cast.seek", "cast.waiting", "cast.back30", "cast.fwd30", "cast.play", "cast.pause"]
for f in sorted((STATIC / "locales").glob("*.js")):
text = f.read_text(encoding="utf-8")
for k in keys:
assert f"'{k}':" in text, f"{f.name} lacks {k}"
- assert "{device}" in (STATIC / "locales" / "ja.js").read_text(encoding="utf-8")