python-plexapi/tests
Dr.Blank 9e8fcb5fa6
Add sonicallySimilar method to Audio class (#1288)
* Add sonicallySimilar method to Audio class

closes #1183

* Add type hinting for method

- fixes import error

* Apply review suggestions

Co-Authors @JonnyWong16

* Add optional parameters to sonicallySimilar method

- makes it so that params can be None and use the server default

* add test for `sonicallySimilar`

* Refactor test to check type of elements

* Apply suggestions

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

* Add authentication to sonicallySimilar test in
test_audio.py

* fix flake8

---------

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2023-11-13 10:47:48 -08:00
..
data fix audio test 2020-04-30 00:49:11 +03:00
__init__.py Move pytests up to main tests folder; Move old tests to archived folder 2017-02-01 23:10:12 -05:00
conftest.py Tests skip additional tests that require plex pass (#1227) 2023-08-27 14:24:54 -07:00
payloads.py Update MyPlexAccount to use Plex API v2 (#1129) 2023-07-27 14:00:46 -07:00
test__prepare.py Update PlexAPI to f-strings (#1000) 2022-08-27 22:56:01 -07:00
test_actions.py Add PlayedUnplayedMixin (#984) 2022-08-26 12:14:24 -07:00
test_audio.py Add sonicallySimilar method to Audio class (#1288) 2023-11-13 10:47:48 -08:00
test_client.py Update PlexAPI to f-strings (#1000) 2022-08-27 22:56:01 -07:00
test_collection.py Update algorithm for parsing smart filters (#1276) 2023-11-05 16:23:57 -08:00
test_gdm.py Allow failure 2020-05-02 00:32:46 +03:00
test_history.py style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
test_library.py tests: improve audio tests (#1294) 2023-11-13 10:35:36 -08:00
test_media.py Add tests for media tags 2021-05-09 20:03:12 -07:00
test_misc.py docs: add Windows make file (#1222) 2023-08-28 09:41:11 -07:00
test_mixins.py style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
test_myplex.py Add MyPlexAccount.ping() to refresh authentication token (#1271) 2023-11-02 21:24:46 -07:00
test_navigation.py style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
test_photo.py Add LibrarySection methods to multi-edit items (#1184) 2023-07-27 14:45:23 -07:00
test_playlist.py Use edit mixins for Playlists (#1284) 2023-11-13 10:29:03 -08:00
test_playqueue.py Factor out playQueue() method to PlexPartialObject (#1058) 2022-12-21 11:43:26 -08:00
test_search.py Clean formatting 2017-02-01 23:47:22 -05:00
test_server.py style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
test_settings.py Use cached_property decorator (#1065) 2022-12-21 11:51:45 -08:00
test_sonos.py Improve Sonos ID lookup (#496) 2020-05-26 15:09:39 -05:00
test_sync.py Add PlayedUnplayedMixin (#984) 2022-08-26 12:14:24 -07:00
test_utils.py Improve parsing to datetime and add error handling (#1203) 2023-08-27 12:06:07 -07:00
test_video.py Remove reload after saving the batch-edits so the user can handle it themselves, if required. (#1247) 2023-09-17 16:01:15 -07:00