Commit graph

1846 commits

Author SHA1 Message Date
JonnyWong16
2cf0d7edab
Fix rare case where details_key is None 2020-12-06 19:04:18 -08:00
JonnyWong16
0411449a70
Cannot test myplex device with changing device name from parallel tests 2020-12-06 19:04:14 -08:00
JonnyWong16
ac549bbd90
Add test to sync client identifier 2020-12-06 17:43:33 -08:00
JonnyWong16
2a31fe3329
Remove test sync client in teardown 2020-12-06 17:43:33 -08:00
JonnyWong16
8e531537fd
Update sync tests in CI workflow 2020-12-06 17:43:11 -08:00
JonnyWong16
8ebe0c7f55
Update sync tests
Fix sync tests
2020-12-06 17:43:11 -08:00
JonnyWong16
d88d5f7290
No cover for createMyPlexDevice 2020-12-06 17:42:44 -08:00
JonnyWong16
f6d61857ad
Only show Deprecation warnings 2020-12-06 17:42:44 -08:00
JonnyWong16
f70058ad13
Add helper function to create a Plex device 2020-12-06 17:42:44 -08:00
JonnyWong16
121d54d86c
Retrieve device using clientIdentifier 2020-12-06 17:42:44 -08:00
JonnyWong16
966ac5515b
Allow custom headers for MyPlexPinLogin 2020-12-06 17:42:44 -08:00
JonnyWong16
9adf29f2c6
Update MyPlexPinLogin for Plex API v2
* Also adds method to link a device using the pin
2020-12-06 17:42:44 -08:00
Steffen Fredriksen
f22fa5694b
Merge pull request #597 from jjlawren/get_playqueue
Add method to retrieve a PlayQueue
2020-12-05 14:13:23 +01:00
Steffen Fredriksen
ad7709611e
Merge pull request #608 from JonnyWong16/bugfix/doc_build
Update building documentation using napoleon
2020-12-05 14:12:21 +01:00
Steffen Fredriksen
16a63f131c
Merge pull request #617 from JonnyWong16/feature/library_collections_playlists
Change LibrarySection collections method to plural and add playlists method
2020-12-05 14:11:42 +01:00
JonnyWong16
422f82ead4
Test Collection delete by creating a new collection 2020-12-05 01:08:00 -08:00
JonnyWong16
5282342113
Add test Collection delete 2020-12-05 00:42:22 -08:00
JonnyWong16
99fc0095cb
Add tests for LibrarySection.collections() and playlists() 2020-12-05 00:18:29 -08:00
JonnyWong16
9786546a05
Also log DeprecationWarning 2020-12-04 23:54:43 -08:00
jjlawren
0b66396f69
Disable media scanning jobs in bootstrap (#618)
* Disable intro scanning and thumbnail generation in bootstrap

* Also disable chapter thumbnails and audio loudness analysis
2020-12-04 16:26:26 -06:00
JonnyWong16
d4c22617cb
Add LibrarySection playlists method 2020-12-04 12:28:11 -08:00
JonnyWong16
86d51bae6c
Change LibrarySection collections method to plural
* Add DeprecationWarning to old collection method
* Add NotImplementedError for PhotoSection.collections()
2020-12-04 12:27:45 -08:00
jjlawren
f4229050d4
Allow setting token env in tests (#610)
* Allow setting token env for test runs

* Use existing config option

* Use token in CI tests
2020-12-04 11:37:19 -06:00
jjlawren
589941fb17
Remove playlist created during tests (#611) 2020-12-03 22:56:08 -06:00
Jason Lawrence
d98275f6ac Temporarily reduce testing load 2020-12-03 21:05:06 -06:00
jjlawren
623229bd38
Fix country metadata test (#614) 2020-12-03 17:18:35 -06:00
JonnyWong16
c89355b535
Update requirements_dev.txt 2020-12-03 11:55:07 -08:00
jjlawren
a1a42b8add
Explicitly trigger on master branch (#613) 2020-12-03 13:31:33 -06:00
jjlawren
59ec9ff982
Github Actions followup (#612)
* Try to fix branch triggers, update badge

* Revert trigger branch

* Trigger CI on any PR

* Disable Travis
2020-12-03 13:12:47 -06:00
JonnyWong16
0e625b9fe2
Merge branch 'master' into bugfix/doc_build 2020-12-03 11:06:53 -08:00
Steffen Fredriksen
3b015dabf7
Merge pull request #602 from jjlawren/add_github_actions
Use Github Actions as CI
2020-12-03 19:00:09 +01:00
Jason Lawrence
580c5822c6 Final cleanup 2020-12-03 11:45:07 -06:00
Jason Lawrence
a5e900f45a Replace coverage badge 2020-12-03 11:42:23 -06:00
Jason Lawrence
1c8f2e2145 Test cache invalidation 2020-12-03 11:29:30 -06:00
Jason Lawrence
6a6b31aacc Cosmetic cleanup 2020-12-03 11:08:48 -06:00
Jason Lawrence
e1eaa3565a Remove job dependency 2020-12-03 11:03:48 -06:00
Jason Lawrence
e6881433cb Create cached venvs on demand 2020-12-03 11:03:01 -06:00
Jason Lawrence
4916c595b2 Activate venv in required steps 2020-12-03 10:43:24 -06:00
Jason Lawrence
053989a837 Activate venv in jobs 2020-12-03 10:34:53 -06:00
Jason Lawrence
b0ddda5ba7 Fix missing env and step ID 2020-12-03 10:29:13 -06:00
Jason Lawrence
9dd13c8872 Pin dependencies, create and cache venvs 2020-12-03 10:23:44 -06:00
Jason Lawrence
81f7f9a6fc Add docker caching from @JonnyWong16 2020-12-03 09:16:12 -06:00
Jason Lawrence
4872138635 Apply review feedback 2020-12-02 15:52:40 -06:00
Jason Lawrence
561a664362 Test more versions, improve readability 2020-12-02 15:07:36 -06:00
Jason Lawrence
edde547919 Use matrix for [un]claimed, update tests/tools, always unlink account 2020-12-02 14:42:51 -06:00
Jason Lawrence
022a639730 Skip sync tests on unclaimed server 2020-12-02 11:31:37 -06:00
Jason Lawrence
6491ecb415 Fix indentation 2020-12-02 11:24:02 -06:00
Jason Lawrence
c0fbb2ccbc Add caching, flake cleanup, cov indentation 2020-12-02 11:21:59 -06:00
Jason Lawrence
47a4613d1b Teardown after linked tests, only run against master 2020-12-01 21:40:07 -06:00
Jason Lawrence
3fd25be433 Fix test dependency 2020-12-01 21:22:23 -06:00