Commit graph

309 commits

Author SHA1 Message Date
Steffen Fredriksen
2fa4d31654
fix typo 2020-12-31 00:38:48 +01:00
Hellowlol
f367f04d8d Lets try to increate the timeout. 2020-12-31 00:28:13 +01:00
JonnyWong16
ce51fc70e9
Fix library section all test with max results 2020-12-23 17:46:38 -08:00
JonnyWong16
9d23ec072e
Fix race condition in create MyPlexDevice from #620 (#625)
* Make test Plex Pass entitlements a subset

* Fix create MyPlexDevice race condition

* Rename to clientId to be consistent

* Move link method to MyPlexAccount
2020-12-15 22:41:04 -06:00
JonnyWong16
b3ea71e62c
Clean up test_server_transcodeImage (#626) 2020-12-15 21:46:24 -06:00
JonnyWong16
8958aea67f
Change collection children to items 2020-12-13 11:33:27 -08:00
JonnyWong16
a6cdbb1f20
Add test for collection children 2020-12-13 11:33:27 -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
8ebe0c7f55
Update sync tests
Fix sync tests
2020-12-06 17:43:11 -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
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
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
jjlawren
623229bd38
Fix country metadata test (#614) 2020-12-03 17:18:35 -06: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
edde547919 Use matrix for [un]claimed, update tests/tools, always unlink account 2020-12-02 14:42:51 -06:00
Jason Lawrence
3bdb09a1c7 Add test 2020-11-30 16:04:51 -06:00
Steffen Fredriksen
ae59620e9a
Merge pull request #601 from JonnyWong16/server_browse
Add ability to browse and walk the Plex server system file directories
2020-11-23 07:48:53 +01:00
Steffen Fredriksen
b623b43a58
Merge pull request #606 from JonnyWong16/bugfix/full_object
Fix Collections stuck as partial object after reloading
2020-11-23 07:47:10 +01:00
Steffen Fredriksen
35c5d0d532
Merge pull request #607 from JonnyWong16/feature/custom_includes
Add ability to customize XML includes when reloading object
2020-11-23 07:46:37 +01:00
JonnyWong16
14f39a4b46
Improve server browse tests 2020-11-21 18:16:37 -08:00
JonnyWong16
3684b52d48
Fix collection mode update test 2020-11-21 17:09:24 -08:00
JonnyWong16
82a9fce665
Add test for partial reload with disabled include 2020-11-21 13:21:13 -08:00
JonnyWong16
f46744092b
Add library update path test 2020-11-20 17:16:08 -08:00
Jason Lawrence
11b3e897fb Set CI branch/PR triggers, revert testing tweaks 2020-11-17 20:48:31 -06:00
Hellowlol
6f037800ee Add test 2020-11-16 11:01:14 +01:00
Jason Lawrence
9ce209809a Extend scanning timeout 2020-11-06 15:15:11 -06:00
Jason Lawrence
a8c67e3f0a Temporary test troubleshooting 2020-11-06 14:17:57 -06:00
Jason Lawrence
576dc21992 Handle empty datetimes in tests 2020-10-08 15:15:43 -05:00
Steffen Fredriksen
163d94d249
Merge pull request #507 from pkkid/show_advanced_setting
Edit Library and Show's Advanced Settings
2020-10-02 12:24:08 +02:00
blacktwin
01239046c7 cleaning up test_settings.test_settings_get test
py2 support has been dropped. returning str instead of bytes now due to 5045ddc
2020-09-28 13:58:31 -04:00
Andrew Gaffney
14b8d0e8c8
Replace format strings with explicit call to format() for backward compatibility (fixes #576) (#577) 2020-09-28 08:41:18 -05:00
blacktwin
56b6138ca7
Merge branch 'master' into show_advanced_setting 2020-09-28 08:12:39 -04:00
jjlawren
860ad7bc3e
Add Library timeline support (#573)
* Add Library timeline support

* Retry intentional failure with different canary test

* Temporarily disable activities tests

* Set tests for normal runs

* Add tests to validate library timeline attributes
2020-09-21 16:06:14 -05:00
jjlawren
8410d81520
Add 'activities' endpoint support (#569)
* Add /activities endpoint support

* Fix typos, return a list instead of iterator

* Canary test to validate CI behavior

* Increase timer of canary test to ensure proper run

* Move test to front of run, provide auth and anon versions

* Fix typo
2020-09-16 18:16:01 -05:00
jjlawren
24901302d7
New bootstrap music scanner (#571)
* Use new Plex Music metadata scanner in tests

* Update tests to match Plex Music scanner metadata

* More tweaks to audio metadata matching

* Another tweak
2020-09-16 17:58:36 -05:00
jjlawren
fb82bc402b
Playqueue improvements (#563)
* Allow creating PlayQueues with multiple items, appending items

* Fix single-item playqueues, fix 'next', fix docstrings, run black

* Docstring updates

* More documentation fixes

* Allow removing items from a PlayQueue

* Use f-strings for readability

* Add ability to move items within the PlayQueue

* Cast attributes to proper types, update docs

* Format with black

* flake8 and sphinx fixes

* Reformat with black

* Update __contains__ to accept media objects

* Operate using media items, use methods similar to playlists

* Rename parameter to better match behavior

* Help users by automatically finding appropriate playQueueItemID values

* Add refresh method, auto-refresh before modifying playqueues

* Reformat with black

* Add TAG and TYPE to PlayQueue objects

* Review comments, add playQueueSelectedMetadataItemKey for Chromecast convenience

* Allow setting the playback start point in the PlayQueue

* Add tests, simplify size check

* Use camel case for helper function

* Add a helper to provide the selected item media object
2020-09-11 16:23:27 -05:00
jjlawren
fc54f7fe06
Add guards for missing thumbs in tests (#548) 2020-08-07 16:57:04 -05:00
jjlawren
fe3907e770
Fix timestamp assertion in tests (#547) 2020-08-07 15:47:46 -05:00
Steffen Fredriksen
5299282599
Merge pull request #509 from pkkid/adding_fields
Add fields to most objects
2020-08-02 16:09:33 +02:00
blacktwin
620056a234 update test_video_Show_editAdvanced_default to use 1 str/text and 1 int/int based change 2020-07-28 11:18:14 -04:00
blacktwin
337ad9d88c correct assertion for default and value comparision. 2020-07-27 15:54:54 -04:00
blacktwin
ab41c1bdd5 add test for editing library advanced setting then defaulting back. 2020-06-18 10:04:29 -04:00
blacktwin
c7baf71323 add test for library settings 2020-06-18 09:57:04 -04:00
blacktwin
7caee834da assert correction for defaulting show advanced settings 2020-06-18 09:56:21 -04:00
blacktwin
fa54430a54 add test for editing show advanced setting then defaulting back 2020-06-18 09:48:03 -04:00