From ac549bbd90693c74741389ccd6f5208eff62e81f Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 6 Dec 2020 17:35:44 -0800 Subject: [PATCH] Add test to sync client identifier --- tests/conftest.py | 2 +- tools/plex-teardowntest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index f7ca7761..46fd6949 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -49,7 +49,7 @@ ENTITLEMENTS = { "windows", "windows_phone", } -SYNC_DEVICE_IDENTIFIER = "sync-client-%s" % plexapi.X_PLEX_IDENTIFIER +SYNC_DEVICE_IDENTIFIER = "test-sync-client-%s" % plexapi.X_PLEX_IDENTIFIER SYNC_DEVICE_HEADERS = { "X-Plex-Provides": "sync-target", "X-Plex-Platform": "iOS", diff --git a/tools/plex-teardowntest.py b/tools/plex-teardowntest.py index a47b1537..f852ec85 100755 --- a/tools/plex-teardowntest.py +++ b/tools/plex-teardowntest.py @@ -19,7 +19,7 @@ if __name__ == '__main__': device.delete() # Remove the test sync client - sync_client_identifier = 'sync-client-%s' % X_PLEX_IDENTIFIER + sync_client_identifier = 'test-sync-client-%s' % X_PLEX_IDENTIFIER for device in plex.myPlexAccount().devices(): if device.clientIdentifier == sync_client_identifier: print('Removing device "%s", with id "%s"' % (device.name, device. clientIdentifier))