File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ [pytest]
2+ markers =
3+ client: this is a client test.
4+ req_client: require a client to run this test.
5+ anonymously: test plexapi anonymously.
6+ authenticated: test plexapi authenticated.
Original file line number Diff line number Diff line change 1212from plexapi .client import PlexClient
1313from plexapi .server import PlexServer
1414
15+
16+
1517SERVER_BASEURL = plexapi .CONFIG .get ('auth.server_baseurl' )
1618MYPLEX_USERNAME = plexapi .CONFIG .get ('auth.myplex_username' )
1719MYPLEX_PASSWORD = plexapi .CONFIG .get ('auth.myplex_password' )
3436
3537TEST_AUTHENTICATED = 'authenticated'
3638TEST_ANONYMOUSLY = 'anonymously'
37-
38-
3939ANON_PARAM = pytest .param (TEST_ANONYMOUSLY , marks = pytest .mark .anonymous )
4040AUTH_PARAM = pytest .param (TEST_AUTHENTICATED , marks = pytest .mark .authenticated )
4141
You can’t perform that action at this time.
0 commit comments