Skip to content

Commit 76f6994

Browse files
authored
Fix test_server_isLatest when using plexpass container tag (#1616)
* Fix test_server_isLatest when using plexpass container tag * Fix test skip message to include plexpass and public tags
1 parent 29439ab commit 76f6994

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_server.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ def test_server_isLatest(plex, mocker):
247247
from os import environ
248248

249249
is_latest = plex.isLatest()
250-
if environ.get("PLEX_CONTAINER_TAG") and environ["PLEX_CONTAINER_TAG"] != "latest":
250+
if environ.get("PLEX_CONTAINER_TAG") and environ["PLEX_CONTAINER_TAG"] not in ("latest", "plexpass", "public"):
251251
assert not is_latest
252252
else:
253253
return pytest.skip(
254-
"Do not forget to run with PLEX_CONTAINER_TAG != latest to ensure that update is available"
254+
"Run with PLEX_CONTAINER_TAG != latest, plexpass, or public to ensure that update is available"
255255
)
256256

257257

0 commit comments

Comments
 (0)