Commit graph

622 commits

Author SHA1 Message Date
JonnyWong16
0f861391b6
Remove banners from tests
* Banners are not supported anymore. https://forums.plex.tv/t/bug-cannot-upload-background-artwork-for-episodes/692999/8
2021-05-11 15:44:36 -07:00
JonnyWong16
fe42061ce1
Add tests for hasPreviewThumbnails properties 2021-05-10 18:13:47 -07:00
JonnyWong16
ac7becd27f
Add tests for episodeNumber and trackNumber properties 2021-05-10 18:13:31 -07:00
JonnyWong16
1139f5fb36
Add test for retrieving items from a hub search media tag 2021-05-10 09:35:47 -07:00
JonnyWong16
aeadd76f9f
Fix tests for Plex TV Series agent 2021-05-09 22:05:54 -07:00
JonnyWong16
ec60eeea44
Update tests for new Plex TV agent 2021-05-09 21:28:17 -07:00
JonnyWong16
61f49f586b
Capitalize collection name in tests 2021-05-09 21:23:00 -07:00
JonnyWong16
71e7ee2660
Add tests for media tags 2021-05-09 20:03:12 -07:00
JonnyWong16
158c5f5633
Merge pull request #730 from JonnyWong16/bugfix/episode_tests
Fix retrieving Season.episode() by episode number
2021-05-09 19:44:52 -07:00
JonnyWong16
e877b0039b
Add tests for Season, Episode, and Track collection tags 2021-05-09 12:27:38 -07:00
JonnyWong16
148ea7f352
Fix episode test watched/unwatched name 2021-04-24 11:26:31 -07:00
JonnyWong16
aac4ffdb23
Fix system devices test 2021-04-23 13:59:16 -07:00
JonnyWong16
15767e500a
Add new collection attributes to tests 2021-04-23 13:59:02 -07:00
Elan Ruusamäe
43557906b8
Fix SERVER_TRANSCODE_SESSIONS typo (#723) 2021-04-18 22:06:35 -05:00
blacktwin
f92878d75f
Merge branch 'master' into reviews_extras 2021-04-12 13:08:29 -04:00
JonnyWong16
19fa6c1e50
Allow relative dates for search filters (#717)
* Add validation for relative date search filter values

* Update search doc strings for searching using relative dates

* Update library search tests for relative dates

* Fix relative date search test

* Automatically format negative sign in relative dates

* Fix relative date search test
2021-04-05 15:46:26 -05:00
meisnate12
5584ef1d4f
Added AdvancedSettingsMixin (#714)
* Added AdvancedSettingsMixin

* forgot import

* shortened line

* remove whitespace

* removed unused import

* reordered mixins

* Add preference method to AdvancedSettingsMixin

* Add tests for AdvancedSettingsMixin

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-04-05 15:44:49 -05:00
JonnyWong16
1c521308e2
Add totalViewSize method to LibrarySection and search bug fixes (#712)
* Fix more library section ID cast to int

* Add method to return library size for specific libtypes

* Add test for library totalViewSize

* Fix totalViewSize test episode count

* Don't need to use library _totalSize cache

* Validate title search arg as a filter kwarg

* Only validate search title if it is a list

* Update doc string for totalViewSize
2021-03-24 20:58:12 -05:00
JonnyWong16
cc313c5d5a
Change photos sync test to get photos by date added instead of device (#709) 2021-03-22 15:14:22 -05:00
JonnyWong16
1d4e911ef5
Add clientIdentifier attribute to SystemDevice (#703)
* Add clientIdentifier attribute to SystemDevice

* Add test for SystemDevice clientIdentifier

* Add methods to return a specific SystemAccount or SystemDevice by ID

* Update tests for SystemAccounts and SystemDevices
2021-03-22 14:35:57 -05:00
JonnyWong16
813770ac74
Add additional test for libtype fallback for search field 2021-03-19 16:47:30 -07:00
JonnyWong16
b9798e9589
Fix searchSeasons test 2021-03-19 16:36:50 -07:00
JonnyWong16
c02a005a70
Add more search tests 2021-03-19 16:27:28 -07:00
JonnyWong16
1674d08ab3
Add tests for library search 2021-03-19 15:53:20 -07:00
JonnyWong16
ddc5e98ab9
Update library tests 2021-03-11 12:24:32 -08:00
JonnyWong16
c15133da88
Adds Movie and Artist advanced setting attributes (#680)
* Add advanced setting attributes to movie

* Add advanced setting attributes to artist

* Update tests for movie advanced setting attributes

* Update tests for artist advanced setting attributes

* Fix artist albumSort attribute
2021-03-11 11:20:28 -06:00
JonnyWong16
7bdc9ed137
Add support for the new Plex TV agent (#679)
* Add new Plex TV agent to library doc string

* Update new Plex TV agent show/season/episode attributes

* Update tests for new Plex TV agent show/season/episode attributes

* Fix test for show attributes

* Add network attribute to show

* Add show network to tests
2021-03-11 11:19:54 -06:00
blacktwin
9d2ec9546e
Merge branch 'master' into reviews_extras 2021-03-09 08:26:52 -05:00
JonnyWong16
bdec69e4a2
Update show/season watched/unwatched tests 2021-03-01 17:54:43 -08:00
JonnyWong16
75e3d4c53c
Add show tag line to tests 2021-02-26 23:02:38 -08:00
Shubhendra Singh Chauhan
12cf146ace
fix: code quality issues (#670)
* Remove unnecessary use of comprehension

* Remove unnecessary comprehension

* Use literal syntax instead of function calls to create data structure

* Pass string format arguments as logging method parameters

* Remove unused imports

* Remove unnecessary generator

* Refactor `if` expression

* fixed typo

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update tests/test_audio.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-02-24 11:55:53 -06:00
JonnyWong16
ee81ebcf93
Rename collection tests 2021-02-24 09:07:40 -08:00
JonnyWong16
61a68ebf8a
Merge remote-tracking branch 'upstream/master' into feature/mixins 2021-02-24 09:04:52 -08:00
JonnyWong16
858fb18f7f
Change movie for collection delete test 2021-02-14 23:54:17 -08:00
JonnyWong16
18e2f15b57
Reset collection mode and sort after test 2021-02-14 23:48:58 -08:00
JonnyWong16
094bfcef43
Pytest collection explicit collection name 2021-02-14 23:41:17 -08:00
JonnyWong16
eb68b6446f
Test delete collection with a different movie 2021-02-14 23:27:18 -08:00
JonnyWong16
8631fdaf36
Fix collection sort update test 2021-02-14 23:06:34 -08:00
JonnyWong16
031eb78711
Fix photoalbum mixins image test 2021-02-14 23:05:32 -08:00
JonnyWong16
94c0362376
Replace quotes for consistency 2021-02-14 22:59:42 -08:00
JonnyWong16
92d10bac17
Add photos mixins tests 2021-02-14 22:58:48 -08:00
JonnyWong16
529d16cbab
Update collections mode and sort tests 2021-02-14 22:54:31 -08:00
JonnyWong16
dd0236eb9a
Fix collections tests 2021-02-14 22:43:44 -08:00
JonnyWong16
88dbee7508
Fix flake8 2021-02-14 22:41:17 -08:00
JonnyWong16
e84e922c93
Move collection tests to new module 2021-02-14 22:33:38 -08:00
JonnyWong16
43e9685fba
Fix collections image url mixins test 2021-02-14 21:40:08 -08:00
JonnyWong16
0fa6f33c47
Fix mixins poster url attr typo 2021-02-14 21:32:28 -08:00
JonnyWong16
9fde559147
Remove redundant audio tests 2021-02-14 21:20:27 -08:00
JonnyWong16
c537db61cf
Factor out mixins image url tests 2021-02-14 21:19:42 -08:00
JonnyWong16
bc8e42bbff
Add simple test for posterUrl alias 2021-02-14 20:02:14 -08:00
JonnyWong16
8915134b6b
Fix typo in track test 2021-02-14 19:11:53 -08:00
JonnyWong16
8478ae6e62
Add banner url to show tests 2021-02-14 19:03:19 -08:00
JonnyWong16
bbafaee1cf
Update art and thumb tests 2021-02-14 17:10:11 -08:00
JonnyWong16
f5cd5277d8
Fix mixins image test reset default image 2021-02-14 16:34:38 -08:00
JonnyWong16
29e7374de3
Rename mixins image test 2021-02-14 16:21:12 -08:00
JonnyWong16
00a20b2c92
Add banner mixin to show tests 2021-02-14 16:12:06 -08:00
JonnyWong16
427d90bd3b
Add mixins tests for all objects with art and posters 2021-02-14 15:59:57 -08:00
JonnyWong16
b960e2f7a5
Remove unmatch from base PlexObject 2021-02-14 15:08:49 -08:00
JonnyWong16
c675858d77
Clean mixin tag test 2021-02-14 14:59:28 -08:00
JonnyWong16
7fedd01371
Test locking/unlocking fields when adding/removing tags 2021-02-14 14:52:33 -08:00
JonnyWong16
84f787a2cc
Merge remote-tracking branch 'upstream/master' into feature/edit_tags 2021-02-14 14:38:21 -08:00
JonnyWong16
724e6696f8
Merge pull request #664 from JonnyWong16/feature/media_attributes
Add originalTitle attribute to show
2021-02-14 14:35:46 -08:00
JonnyWong16
f66624f2bd
Merge pull request #656 from JonnyWong16/feature/object_parent
Fix checking object parent when the weakref is dead
2021-02-14 14:34:54 -08:00
JonnyWong16
c585ec6bbf
Fix show originalTitle in test 2021-02-14 14:28:54 -08:00
JonnyWong16
e468cba61f
Replace quotes for consistency 2021-02-11 09:16:04 -08:00
JonnyWong16
10af1ce65d
Update test for show originalTitle attribute 2021-02-10 21:05:34 -08:00
JonnyWong16
57147bd386
Revert "Workaround #660 for reloading object in mixins tag test"
This reverts commit 3919254427.
2021-02-07 15:34:48 -08:00
JonnyWong16
15e9ad9f00
Merge branch 'master' into feature/object_parent 2021-02-07 14:46:30 -08:00
JonnyWong16
02c56841f0
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 10:46:20 -08:00
Steffen Fredriksen
3f7655e96e
Merge pull request #639 from pkkid/mixin
Move split/merge and unmatch/match to a mixin
2021-02-07 19:37:14 +01:00
Steffen Fredriksen
2be946c207
Merge pull request #657 from JonnyWong16/feature/hidden_season
Fix episode parentKey and parentRatingKey when seasons are hidden in Plex
2021-02-07 19:36:39 +01:00
JonnyWong16
3919254427
Workaround #660 for reloading object in mixins tag test 2021-02-07 10:17:29 -08:00
JonnyWong16
a7e5763e78
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 09:33:15 -08:00
JonnyWong16
76fa9a9bf6
Merge remote-tracking branch 'upstream/master' into mixin 2021-02-07 09:29:54 -08:00
JonnyWong16
6842a8d1da
Fix mixin tag test 2021-02-06 20:35:47 -08:00
JonnyWong16
88e69d4664
Merge branch 'master' into feature/edit_tags 2021-02-06 20:27:34 -08:00
JonnyWong16
271f4840e6
Merge branch 'master' into feature/posters 2021-02-06 20:26:46 -08:00
JonnyWong16
28a8436dc0
Add test for episode attributes with hidden seasons 2021-02-04 19:03:29 -08:00
JonnyWong16
a7f5d16aee
Add test to check episode parent weakref 2021-02-04 18:16:53 -08:00
Steffen Fredriksen
77b1d0e9a3
Merge pull request #651 from JonnyWong16/feature/collection_thumb_art
Add thumbUrl and artUrl properties to Collections
2021-02-02 08:13:05 +01:00
jjlawren
66e47068d9
Fix session param in tests (#652)
* Fix session param in tests

* Remove get_account helper

* Remove 'account' from fixtures to avoid skipping tests
2021-02-01 21:59:11 -05:00
JonnyWong16
1bcd3549be
Fix library timeline test queue size 2021-01-30 16:25:08 -08:00
JonnyWong16
4a2086a798
Remove episode split test 2021-01-30 16:22:48 -08:00
Steffen Fredriksen
5b4add3cb7
increase the timeout. (#634)
* Lets try to increate the timeout.

* fix typo
2021-01-27 16:37:56 -05:00
JonnyWong16
688bca92ac
Add tests for collection thumbUrl and artUrl 2021-01-25 09:20:19 -08:00
blacktwin
82e62644f5
Merge branch 'master' into reviews_extras 2021-01-25 10:07:08 -05:00
JonnyWong16
ee28bef80f
Add support for the new Plex Movie agent (#628)
* guids collection to movie and GuidTag PlexObject

* Fix flake8

* Clean up GuidTag and Guid

* Add Plex Movie agent to add library doc string

* Change test bootstrap server movie library to Plex Movie

* Update tests for Plex Movie agent

* Mix movie genre test

Co-authored-by: andyloree <andy@andyloree.com>
2021-01-24 21:03:58 -05:00
Davin Martin
fee5261aaf
Added missing support for /transcode/sessions (#629) 2021-01-24 20:33:07 -05:00
JonnyWong16
c23d9635f5
Rename to mixins 2021-01-24 15:03:23 -08:00
JonnyWong16
1445be25eb
Merge branch 'master' into feature/posters 2021-01-24 14:51:11 -08:00
JonnyWong16
dd8373176e
Update test collection fixture 2021-01-24 14:40:39 -08:00
JonnyWong16
deda4e1b2b
Add mixin tag tests 2021-01-24 14:40:39 -08:00
JonnyWong16
dfc5aa1eef
Fix server hub searches (#643)
* Add hub search media tag objects

* Fix server search

* Fix hub media tag thumb

* Update server search test with tags
2021-01-24 15:48:38 -05:00
JonnyWong16
a9a44a6a41
Fix related hubs (#642)
* Fix related hubs

* Update hub doc strings

* Add reload method for hubs

* Rename movie hub variable to match XML tag

* Add movie hubs test

* Fix hub test
2021-01-24 15:29:44 -05:00
blacktwin
4f0910ab79
Update to MediaPartStream and inheriting classes (#590)
* moving common child (VideoStream, AudioStream, SubtitleStream) attributes to the parent (MediaPartStream)

* removal of no longer present attribs in video, audio, subtitle streams

* additional attribs to video and mediapart streams

* removal of previously unique subtitleStream attribs. attribs are now common or no longer present.

* docstring cleanup of video, audio, and subtitle stream; pass 1

* remove codecID checks as this attribute is now longer used.

* adding key attrib to parent MediaPartStream.

* add transient to SubtitleStream, found in uploaded subtitles

* removing dialogNorm related assertion as this attrib has been removed.

* update Media class based on PR comments
optimizedVersion to be added, need SEARCHTYPES

* update MediaPartStream class based on PR comments

* update VideoStream class based on PR comments

* update AudioStream class based on PR comments

* update SubtitleStream class based on PR comments

* add LyricStream class based on PR comments

* add streamType int and LyricStream to MediaPartStream.parse method

* add MediaPart.lyricStreams method

* spelling correction

* more movement based on PR comments

* alpha ordering MediaPart

* alpha sort VideoStream

* docstring corrections

* remove assert stream.dialogNorm from audio test as dialogNorm has been removed.

* adding LyricStream to _buildStreams function

* adding changes from @johnnywong16
e346f0b4dc

* moving unused imports down and together

* Address docstring review comments

* Change isChildOf for any kwargs

* Add Media.isOptimizedVersion property

* Add photo and track specific attributes

* Remove dead MediaPartStream.parse method

* Update media doc strings

* Add optimized version doc string

* Cast video stream codedHeight and codedWidth to int

* Add required bandwidths to streams

* Update video tests

* Update audio tests

* Fix video tests

* Fix video tests

* Fix video tests

Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-01-24 15:21:56 -05:00
JonnyWong16
2263e94420
Add tests for posters and art 2021-01-24 11:47:15 -08:00
blacktwin
ddbd07e571
Merge branch 'master' into reviews_extras 2021-01-18 15:53:40 -05:00
JonnyWong16
750ea9d153
Fix server dashboard tests 2021-01-03 13:52:00 -08:00
JonnyWong16
0ad0b0ba00
Add bandwidth and resource tests 2021-01-03 11:33:15 -08:00
Hellowlol
f2e7e891cb Fix a test in navigation
keep compat for season(int)
2020-12-30 23:58:01 +01:00
JonnyWong16
5b78f6b482
Merge branch 'master' into feature/media_attributes 2020-12-30 12:53:17 -08:00
JonnyWong16
810c5566c3
Fix playlist tests 2020-12-24 09:21:29 -08:00
JonnyWong16
478bf9e083
Fix video season index test 2020-12-24 09:21:02 -08:00
JonnyWong16
9916297070
Fix tests 2020-12-23 23:12:50 -08:00
JonnyWong16
33b725d8d4
Update tests 2020-12-23 23:03:08 -08:00
JonnyWong16
ce51fc70e9
Fix library section all test with max results 2020-12-23 17:46:38 -08:00
JonnyWong16
22bfeb0820
Update test_audio index is integer 2020-12-23 16:56:00 -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
blacktwin
3865ab9919 Merge remote-tracking branch 'remotes/origin/master' into reviews_extras 2020-10-23 15:54:25 -04:00
Jason Lawrence
576dc21992 Handle empty datetimes in tests 2020-10-08 15:15:43 -05:00
blacktwin
06bbd284a3 correction, failing in the unclaimed server CI run 2020-10-07 11:54:45 -04:00
blacktwin
d948669204 failing in the unclaimed server CI run 2020-10-07 11:27:58 -04:00
blacktwin
1f683c514b
Merge branch 'master' into reviews_extras 2020-10-07 11:18:28 -04: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
blacktwin
675cfd3f49 append original choice back in 2020-08-31 21:41:43 -04:00
blacktwin
6dbb4542da Merge remote-tracking branch 'origin/reviews_extras' into reviews_extras 2020-08-30 02:37:44 -04:00
blacktwin
aaa0a9758b add tests for presence of movie reviews and extras 2020-08-30 02:37:04 -04:00
blacktwin
132e37995d
Merge branch 'master' into reviews_extras 2020-08-30 02:21:51 -04:00
blacktwin
2d08f2d179 add test for opting out of a onlineMediaSource 2020-08-30 02:20:30 -04: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
blacktwin
e93d957b2b add test for show preferences 2020-06-18 09:47:22 -04:00
Hellowlol
d7c215b119 Small change to the repr and add test. 2020-06-14 20:21:46 +02:00
blacktwin
15f76e8480 add test for confirming edit and field locked on a collection 2020-06-12 14:17:08 -04:00
blacktwin
f5e2021bff add test for confirming edit and field locked on a movie and episode 2020-06-12 14:15:53 -04:00
jjlawren
4193012bc2
Improve Sonos ID lookup (#496) 2020-05-26 15:09:39 -05:00
Jason Lawrence
735e26f257 Sonos lookup fixes and tests 2020-05-15 08:45:46 -05:00
Hellowlol
6138c709cd first pass on tools and tests 2020-05-12 23:26:29 +02:00
Hellowlol
530c6d6344 burn 2020-05-11 23:51:31 +02:00
Hellowlol
60e40bbe3d pos 2020-05-11 23:26:44 +02:00
Hellowlol
8439451b0d Update test_server.py 2020-05-11 23:18:55 +02:00
Hellowlol
42c83aa084 Fix for library title search when special chars is used
fix flaky test.
2020-05-11 15:14:38 +02:00
Steffen Fredriksen
6daaa85f18
Merge pull request #471 from jjlawren/sonos_controls
Allow control of Sonos speakers using Plex API
2020-05-10 14:31:16 +02:00
Steffen Fredriksen
226737807e
Merge pull request #472 from pkkid/matching_fix
matching_fix
2020-05-10 14:30:59 +02:00
Jason Lawrence
f55b8a1416 Add mocked tests for Sonos 2020-05-06 09:15:03 -05:00
blacktwin
f05866839f creation of test_video_Movie_match 2020-05-04 22:11:41 -04:00
Steffen Fredriksen
7905ff0e58
Merge pull request #468 from pkkid/less_deps
reduce deps
2020-05-02 01:44:28 +03:00
Hellowlol
5911597154 forgot one file. 2020-05-02 01:34:08 +03:00
Hellowlol
8ac2edb3f6 reduce deps 2020-05-02 01:29:26 +03:00
Hellowlol
201466a52f Allow failure 2020-05-02 00:32:46 +03:00
Hellowlol
c5fc907339 add merge test 2020-05-02 00:06:29 +03:00
Steffen Fredriksen
437eea8dfc
Merge pull request #466 from pkkid/batchsearch
Make it easier to set a container size using search
2020-05-01 21:08:51 +03:00
Hellowlol
6358f051d2 Update test_navigation.py 2020-04-30 00:49:11 +03:00
Hellowlol
c9052ef933 fix audio test
run black on some tests
2020-04-30 00:49:11 +03:00
Hellowlol
0520ca7390 Update test_audio.py 2020-04-30 00:44:59 +03:00
Hellowlol
47367292f2 Fix some audio test
Make some attributes tests less strict and they tend fail some time to time.
2020-04-30 00:44:59 +03:00
Hellowlol
2683c776eb first pass on static media 2020-04-30 00:44:59 +03:00
Hellowlol
1e77e76fb0 Add log message
Add some test that verify that we cant get in a enless loop and handle container_start corrently.
2020-04-29 14:42:19 +03:00
Hellowlol
819292b809 add some tests 2020-04-27 21:43:35 +03:00
Steffen Fredriksen
6eea7cce0f
Allow pagination (#464)
Allow pagination on fetchItems
2020-04-26 21:18:52 +02:00
jjlawren
70d93ad61e
Only test important client attributes (#458) 2020-04-16 21:14:15 -05:00
Hellowlol
34c506107f update travis build
so we always test on the latest.
2020-04-16 23:51:18 +02:00
Jason Lawrence
06e6386ea3 Minor test fixes 2020-04-16 12:07:40 -05:00
Steffen Fredriksen
0da9e3994a
Merge pull request #451 from jjlawren/raise_notfound
Raise NotFound on 404 errors
2020-04-16 14:41:14 +02:00
Steffen Fredriksen
a1b9cc2ebc
Delete man.py 2020-04-16 09:20:57 +02:00
Jason Lawrence
049791c5cf Add server NotFound test 2020-04-15 22:07:53 -05:00
Hellowlol
350f43773a fix test_settinngs_get 2020-04-16 01:12:17 +02:00
Hellowlol
e0d5a873e1 misc fixes 2020-04-16 00:30:00 +02:00
Hellowlol
ed3d16d1b0 som pytest 4 compat
and change to client timeline is can respond quicker.
2020-04-15 22:53:17 +02:00
Hellowlol
cc71daeaba sync 2020-04-15 20:41:15 +02:00
Hellowlol
6741be06c4 fix tests 2020-04-14 22:13:30 +02:00
blacktwin
839a9da41d
Merge branch 'master' into conversion_actions 2020-04-07 09:21:32 -04:00
blacktwin
0edca722db mark test as broken and skip.
provided reason as failing on some builds.
2020-03-06 08:55:15 -05:00
blacktwin
ec8491c2e1 update test
check server current allowMediaDeletion
test for redundant toggles
2020-02-26 08:57:42 -05:00
blacktwin
8f96c34eac add test for checking _allowMediaDeletion method. 2020-02-25 16:40:15 -05:00
blacktwin
11ddd239d8 pausing conversion after creation to ensure job doesn't complete. 2020-02-17 17:35:07 -05:00
blacktwin
3acc72d0c3 add testing for optimizing videos
need sleep(1) to allow for conversion to go through.
2020-02-13 15:04:03 -05:00
Steffen Fredriksen
0a7b3ed3b3
Merge pull request #403 from zSeriesGuy/PlayHistory
Support history for specific ratingKeys
2019-11-28 23:15:36 +01:00
zSeriesGuy
d9820775a6 Add additional histroy methods 2019-11-16 16:35:20 -05:00
zSeriesGuy
f3091d9e97 Remove markwatched/markunwatched from audio tests history 2019-11-14 13:44:42 -05:00
zSeriesGuy
43a60f00f1 Support history for specific ratingKeys
Add history method to PlexPartialObject
Add ratingKey to server history method.
Add tests for movie, show, season, episode, artist, album, and track history.
2019-11-14 12:21:49 -05:00
blacktwin
bd9e1db4dc
Merge branch 'master' into patch-8 2019-11-11 15:42:18 -05:00
Steffen Fredriksen
4ea81af0ac
Merge pull request #390 from pkkid/posters
posters
2019-11-06 17:49:28 +01:00
Michael Shepanski
1709868665 Its hit or miss.. 2019-10-16 00:15:06 -04:00
Michael Shepanski
44eed792c7 Assuming bar.update is not threadsafe.
Fix electronic tag.
Fix media duration off by 1.
2019-10-15 23:49:27 -04:00
blacktwin
9f71277530 Comment corrections
Test updated for function instead of attribute.
2019-10-12 14:49:18 -04:00
blacktwin
1b1ad02a53
correct subtitle test
remove call to removed function.
2019-10-12 14:08:27 -04:00
blacktwin
9416bcbfaf add poster check in test_video_Movie_attrs 2019-10-09 10:48:21 -04:00
Steffen Fredriksen
e6548649c8
Merge pull request #386 from pkkid/video_exists
add exists function
2019-10-06 21:19:31 +02:00
blacktwin
64013a32fa
Merge branch 'master' into patch-8 2019-10-04 22:49:02 -04:00
Michael Shepanski
a3ab143068 Comment out depicated config options 2019-10-02 21:47:02 -04:00
Michael Shepanski
73502f8f24 Register custom marks 2019-10-02 21:29:08 -04:00
Michael Shepanski
8bdd83164d Skip broken tests 2019-10-02 21:08:27 -04:00
Michael Shepanski
17f67ebdad Fix conftext to pass flake8 2019-10-02 20:58:00 -04:00
blacktwin
10c10b1291
standalone exists test
test for validating reload provided expected results
2019-09-30 21:27:13 -04:00
blacktwin
6fd1b27aab
adding video checks
adding checks for newly added attributes.
2019-09-30 21:25:10 -04:00
blacktwin
d5c58b4ac3
import mock_open 2019-09-24 14:35:29 -04:00
blacktwin
b21d897d30
subtitle tests
test for episode subtitles
test for uploading, selecting, and removing a subtitle
2019-09-23 23:15:30 -04:00
blacktwin
05fb2370c5
subtitle fixture 2019-09-23 23:13:17 -04:00
Hellowlol
56ffd6ebcf zomg 2019-09-21 23:17:35 +02:00
Hellowlol
5fa91dc5e1 first pass on fixing tests 2019-09-21 22:54:50 +02:00
Steffen Fredriksen
117d8cba73
Merge pull request #365 from blacktwin/patch-5
Adding Managed User support
2019-09-21 22:16:27 +02:00
Hellowlol
f95f7924b1 Merge branch 'pr/366' 2019-09-21 22:14:06 +02:00
blacktwin
05c21983cf
add test
add tests for creating and remove home users and inviting existing user to home and removing invite.
2019-09-14 21:03:18 -04:00
blacktwin
5db89eba09
sort correction
renamed tests
2019-09-13 22:31:38 -04:00
blacktwin
1d5d119d4c
test name update 2019-09-05 08:58:13 -04:00
Menushka Weeratunga
232fa31a0d Added test 2019-09-02 14:42:08 -04:00
Ty Hahn
37727a69ed Add rate function to video 2019-08-07 05:45:21 +09:00
blacktwin
319adf92fc
add collections fixture 2019-07-31 14:53:06 -04:00
blacktwin
75a0c7beb6
tests for collection's mode and sort 2019-07-31 14:51:51 -04:00
Andrey Yantsen
c5e9333a3d try to stabilise test_video_Movie_attrs 2019-02-07 10:26:00 +00:00
Andrey Yantsen
e853f4eeee remove cpms from conftest.ENTITLEMENTS 2019-02-07 10:26:00 +00:00
David Roizenman
3719d4b599 Fix spelling of "original" 2019-01-07 08:04:53 -05:00
Michael Shepanski
7ef2e40607 Add Not Rated content rating 2018-12-04 15:45:14 -05:00
Hellowlol
b5027e8341 Merge branch 'smart' 2018-12-04 21:20:43 +01:00
Hellowlol
e6a6a1f7cc oops 2018-11-17 20:53:32 +01:00
Hellowlol
e5df09ca6c fix settings for py 2 2018-11-17 20:42:03 +01:00
Hellowlol
c5083c311c fix test.. 2018-11-17 00:33:56 +01:00