From c136c594ea32e4490c327b393ef9d4b5f09deeef Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 6 Jun 2021 18:39:45 -0700 Subject: [PATCH] Mark online media sources tests with xfail * Test account is missing online media sources? --- tests/test_myplex.py | 3 ++- tests/test_video.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_myplex.py b/tests/test_myplex.py index b6bcf7279..f70b99540 100644 --- a/tests/test_myplex.py +++ b/tests/test_myplex.py @@ -124,6 +124,7 @@ def enabled(): @pytest.mark.authenticated +@pytest.mark.xfail(reason="Test account is missing online media sources?") def test_myplex_onlineMediaSources_optOut(account): onlineMediaSources = account.onlineMediaSources() for optOut in onlineMediaSources: @@ -146,7 +147,7 @@ def test_myplex_onlineMediaSources_optOut(account): optOut._updateOptOut(optOutValue) with pytest.raises(NotFound): - assert onlineMediaSources[0]._updateOptOut('unknown') + onlineMediaSources[0]._updateOptOut('unknown') def test_myplex_inviteFriend_remove(account, plex, mocker): diff --git a/tests/test_video.py b/tests/test_video.py index 0e58186a1..692c47779 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -564,6 +564,7 @@ def test_video_Movie_hubs(movies): @pytest.mark.authenticated +@pytest.mark.xfail(reason="Test account is missing online media sources?") def test_video_Movie_augmentation(movie, account): onlineMediaSources = account.onlineMediaSources() tidalOptOut = next(