Commit graph

80 commits

Author SHA1 Message Date
Hellowlol
6138c709cd first pass on tools and tests 2020-05-12 23:26:29 +02:00
Steffen Fredriksen
226737807e
Merge pull request #472 from pkkid/matching_fix
matching_fix
2020-05-10 14:30:59 +02:00
blacktwin
f05866839f creation of test_video_Movie_match 2020-05-04 22:11:41 -04:00
Hellowlol
c5fc907339 add merge test 2020-05-02 00:06:29 +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
e0d5a873e1 misc fixes 2020-04-16 00:30:00 +02:00
Hellowlol
6741be06c4 fix tests 2020-04-14 22:13:30 +02: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
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
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
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
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
b21d897d30
subtitle tests
test for episode subtitles
test for uploading, selecting, and removing a subtitle
2019-09-23 23:15:30 -04:00
Hellowlol
56ffd6ebcf zomg 2019-09-21 23:17:35 +02:00
Menushka Weeratunga
232fa31a0d Added test 2019-09-02 14:42:08 -04:00
Andrey Yantsen
c5e9333a3d try to stabilise test_video_Movie_attrs 2019-02-07 10:26:00 +00:00
David Roizenman
3719d4b599 Fix spelling of "original" 2019-01-07 08:04:53 -05:00
Andrey Yantsen
68fc970d7a Improvements in tests process (#297)
* lets begin

* skip plexpass tests if there is not plexpass on account

* test new myplex attrubutes

* bootstrap: proper photos organisation

* fix rest of photos tests

* fix myplex new attributes test

* fix music bootstrap by setting agent to lastfm

* fix sync tests

* increase bootstrap timeout

* remove timeout from .travis.yml

* do not create playlist-style photoalbums in plex-bootstraptest.py

* allow negative filtering in LibrarySection.search()

* fix sync tests once again

* use sendCrashReports in test_settings

* fix test_settings

* fix test_video

* do not accept eula in bootstrap

* fix PlexServer.isLatest()

* add test against old version of PlexServer

* fix MyPlexAccount.OutOut

* add flag for one-time testing in Travis

* fix test_library onDeck tests

* fix more tests

* use tqdm in plex-bootstraptest for media scanning progress

* create sections one-by-one

* update docs on AlertListener for timeline entries

* fix plex-bootstraptest for server version 1.3.2

* display skip/xpass/xfail reasons

* fix tests on 1.3

* wait for music to be fully processed in plex-bootstraptest

* fix misplaced TEST_ACCOUNT_ONCE

* fix test_myplex_users, not sure if in proper-way

* add pytest-rerunfailures; mark test_myplex_optout as flaky

* fix comment

* Revert "add pytest-rerunfailures; mark test_myplex_optout as flaky"

This reverts commit 580e4c95a7.

* restart plex container on failure

* add conftest.wait_until() and used where some retries are required

* add more wait_until() usage in test_sync

* fix managed user search

* fix updating managed users in myplex

* allow to add new servers to existent users

* add new server to a shared user while bootstrapping

* add some docs on testing process

* perform few attemps when unable to get the claim token

* unlock websocket-client in requirements_dev

* fix docblock in tools/plex-teardowntest

* do not hardcode mediapart size in test_video

* remove cache:pip from travis

* Revert "unlock websocket-client in requirements_dev"

This reverts commit 0d536bd06d.

* remove debug from server.py

* improve webhook tests

* fix type() check to isinstance()

* remove excessive `else` branch due to Hellowlol advice

* add `unknown` as allowed `myPlexMappingState` in test_server
2018-09-14 20:03:23 +02:00
tijder
14c40e5fd8
Basic test 2018-05-14 20:12:29 +02:00
Hellowlol
807d833ceb move update progress so we can use it on music. 2018-02-22 12:29:39 +01:00
Hellowlol
891c32537d Fix some tests 2018-01-02 00:15:40 +01:00
Hellowlol
2eaddd0e64 disable more flaky stuff. 2017-11-08 22:52:29 +01:00
Hellowlol
1c2bd20f11 you flaky piece of shit
Got pwned by logging in to zhe test server.
2017-11-08 22:46:18 +01:00
Hellowlol
d3e4c63dd4 add url method, artUrl
change reload waning to debug.
2017-11-08 22:01:53 +01:00
Hellowlol
0e2c7fb7e6 fixup
move delete to partial as not everything is deletable
fix library genre test
fix delete media.
2017-11-01 23:18:18 +01:00
Hellowlol
baf655b88b add split, unmatch, stop, installupdate 2017-10-29 00:40:35 +02:00
Hellowlol
0f16ea9cb7 fix invite and add editfriend. 2017-10-28 22:58:47 +02:00
Hellowlol
0594f24f8b mock delete properly 2017-10-26 23:55:59 +02:00
Hellowlol
389cc5a30a more cov 2017-10-25 23:43:23 +02:00
Michael Shepanski
d4763dcda9 Merge pull request #216 from pkkid/add_ne
add ne and ne test.
2017-10-13 21:09:10 -04:00
Hellowlol
b5a3018c6b add ne and ne test. 2017-10-14 01:46:09 +02:00
Hellowlol
284a3b615a More hidden stuff.. 2017-10-14 00:29:52 +02:00
Hellowlol
367929a97e fix another bug that was hidden 2017-10-14 00:02:21 +02:00
Hellowlol
e2a1ba992c remove player 2017-10-13 23:47:01 +02:00
Hellowlol
08c24fce0d add test for missing attr 2017-10-13 23:47:00 +02:00
Hellowlol
1af004b7c0 One more 2017-08-18 23:06:59 +02:00
Hellowlol
72094fce40 More tests fixes 2017-08-18 21:44:40 +02:00
Michael Shepanski
943aa02e69 Rename playlist.share to playlist.copyToUser; Make plex.myPlexSubscription a bool; Fix a few tests with updated attrs; Skip test_copyToUser if no subscription 2017-08-11 15:14:32 -04:00
Michael Shepanski
00bebde505 Merge pull request #151 from pkkid/eddit
Init edit.
2017-07-30 00:26:22 -04:00
Michael Shepanski
47968bbccf Fix tests 2017-07-30 00:24:30 -04:00
Hellowlol
73c10abcce fix bug, add test add todo for images from meta data. 2017-07-27 00:55:31 +02:00
Michael Shepanski
1315f4f3c3 Update test to call audioStreams() and videoStreams() as functions (not properties) 2017-05-13 16:17:06 -04:00
Michael Shepanski
650a88d638 Started movinf client tests into Pytest framework 2017-05-12 23:25:57 -04:00