Commit graph

81 commits

Author SHA1 Message Date
ReenigneArcher
0708821566
test: fix test_audio_Audio_sonicallySimilar authenticated test (#1298)
* test: fix test_audio_Audio_sonicallySimilar authenticated test

* Update tests/test_audio.py

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

---------

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2023-11-14 16:15:30 -08:00
ReenigneArcher
b783a56edc
Tests skip additional tests that require plex pass (#1227)
* tests: skip additional tests that require Plex Pass

* tests(test_myplex_users): check if first user has access to any server

* tests(fixture): adjust plex pass required skip message
2023-08-27 14:24:54 -07:00
JonnyWong16
b98b6050fe
Add properties to return the Plex Media Server data metadata paths (#1207)
* Add property to return the Plex Media Server data metadata path

* Add property to return the filepath for a resource

* Add tests for metadataDirectory and resourceFilepath
2023-08-27 12:59:53 -07:00
JonnyWong16
9ede493f4c
Add LibrarySection methods to multi-edit items (#1184)
* Use generator for string join

* Group media type edit mixins

* Add UserRatingMixin

* Add LibrarySection methods to multi-edit items

* Remove deprecated banners

* Factor out resource lock/unlock mixins

* Update `fetchItems` to accept list of rating keys

* Add repr and helper methods to Common object

* Update tests
2023-07-27 14:45:23 -07:00
JonnyWong16
013d1a2d00
Update MyPlexAccount to use Plex API v2 (#1129)
* Update MyPlexAccount to use Plex API v2

* Update MyPlexAccount test

* Add rememberMe option to MyPlexAccount sign in

* Update MyPlexAccount do string
2023-07-27 14:00:46 -07:00
JonnyWong16
0080cc8964
Add blendColor parameter to transcodeImage() (#1121)
* Add `blendColor` to `transcodeImage()`

* Update `transcodeImage()` tests
2023-03-09 16:18:27 -08:00
JonnyWong16
9dbb2e5169
Create music playlist from m3u file (#1055)
* Create music playlists from m3u files

* Add test for playlist m3u import

* Add createCollection examples
2022-12-21 11:32:43 -08:00
JonnyWong16
020a32f2b8
Update PlexAPI to f-strings (#1000)
* Update plexapi to f-strings

* Update tests to f-strings
2022-08-27 22:56:01 -07:00
ReenigneArcher
3917b335ca
Fix various typos (#880)
* Fix various typos

* Fix various typos in tests

* Fix typos in `tests`

* Fix more typos

* Fix hasScalingMatrix test

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 19:26:08 -08:00
JonnyWong16
6cacc4a55a
Add playlist title search and sorting (#782)
* Add title and sort arguments to server playlists method

* Raise NotFound when retrieving a playlist or collection

* Update tests for collection/playlist NotFound
2021-07-26 20:45:58 -05:00
JonnyWong16
7800e892ae
Add Playlist attrs test 2021-05-29 19:00:59 -07:00
JonnyWong16
b19b469eb0
Update pytest fixtures 2021-05-29 16:57:42 -07:00
JonnyWong16
61f49f586b
Capitalize collection name in tests 2021-05-09 21:23:00 -07:00
JonnyWong16
61a68ebf8a
Merge remote-tracking branch 'upstream/master' into feature/mixins 2021-02-24 09:04:52 -08:00
JonnyWong16
094bfcef43
Pytest collection explicit collection name 2021-02-14 23:41:17 -08:00
JonnyWong16
92d10bac17
Add photos mixins tests 2021-02-14 22:58:48 -08:00
JonnyWong16
c537db61cf
Factor out mixins image url tests 2021-02-14 21:19:42 -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
a7e5763e78
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 09:33:15 -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
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
Steffen Fredriksen
5b4add3cb7
increase the timeout. (#634)
* Lets try to increate the timeout.

* fix typo
2021-01-27 16:37:56 -05:00
Davin Martin
fee5261aaf
Added missing support for /transcode/sessions (#629) 2021-01-24 20:33:07 -05:00
JonnyWong16
dd8373176e
Update test collection fixture 2021-01-24 14:40:39 -08:00
JonnyWong16
2263e94420
Add tests for posters and art 2021-01-24 11:47:15 -08:00
JonnyWong16
0ad0b0ba00
Add bandwidth and resource tests 2021-01-03 11:33:15 -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
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
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
Jason Lawrence
edde547919 Use matrix for [un]claimed, update tests/tools, always unlink account 2020-12-02 14:42:51 -06:00
Jason Lawrence
576dc21992 Handle empty datetimes in tests 2020-10-08 15:15:43 -05:00
Hellowlol
6138c709cd first pass on tools and tests 2020-05-12 23:26:29 +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
Jason Lawrence
f55b8a1416 Add mocked tests for Sonos 2020-05-06 09:15:03 -05:00
Hellowlol
8ac2edb3f6 reduce deps 2020-05-02 01:29:26 +03:00
Hellowlol
c9052ef933 fix audio test
run black on some tests
2020-04-30 00:49:11 +03:00
Hellowlol
34c506107f update travis build
so we always test on the latest.
2020-04-16 23:51:18 +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
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
17f67ebdad Fix conftext to pass flake8 2019-10-02 20:58:00 -04:00
blacktwin
d5c58b4ac3
import mock_open 2019-09-24 14:35:29 -04:00
blacktwin
05fb2370c5
subtitle fixture 2019-09-23 23:13:17 -04:00