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
Hellowlol
e0796e2d9e
add test for smart playlist
2018-11-17 00:20:21 +01:00
Michael Shepanski
d6b581e877
Fix bad test
2018-10-24 09:11:48 -04:00
Andrey Yantsen
06742e87e8
run tests over unclaimed server
2018-09-15 21:44:39 +01:00
Andrey Yantsen
4e2fa8254b
fix utils test
2018-09-14 23:29:14 +01:00
Andrey Yantsen
12a318a8e2
Add a method to request a claim token ( #287 )
...
* add MyPlexAccount.claimToken()
* improve docstring for MyPlexAccount.claimToken()
2018-09-14 20:52:26 +02: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
Andrey Yantsen
b6c061afd6
Bootstrap test plex ( #290 )
...
* fix markup in tests/conftest.py
* add plex-bootstraptest
2018-09-08 17:27:34 +02:00
Andrey Yantsen
54b26fdc25
Sync support ( #282 )
...
* [sync] initial commit
* fix populating of `state` field in sync.Status
* [connection] add posibliity to return first established connection faster
* [base] add timeout argument to PlexObject.fetchItems()
* [sync] add timeout arg to SyncItem.getMedia()
When you have multiple media within one SyncItem it takes a lot of time
to get all the info for this media (on my machine it takes about a
second for each movie).
* [sync] fix marking media as downloaded
* [sync] pass clientIdentifier to created SyncItem()
* [sync] override __repr__() for sync.Status
* fix after @mikes-nasuni`s review
* fix python2 compatibility
* get rid of sync.init()
* use list comprehension
* remove timeout from PlexObject.fetchItems()
* fix SyncItem under python 2.7
* fix __doc__ in sync module
* revert myplex._connect() back to it`s original state
* improve sync docs
* get rid of PlexObjects where not needed
* add X-Plex-Sync-Version=2 to headers
* add sync() method into Video, LibrarySection and MyPlexAccount
* add SyncItem.delete()
* add sync.Policy.create()
* use self._default_sync_title instead of _prettyfilename as default title
* let the tests begin
* add items for refreshing synclists to PlexServer
* fix sync tests
* sync for everybody!
* add TODO doctring for Audio._defaultSyncTitle()
* SyncItems tag may be presented only once, there is no need for loop
* add more TODO docstrings
* hello docs
* remove relative import
* remove unused variable from tests/test_sync.py
2018-09-08 17:25:16 +02:00
tijder
14c40e5fd8
Basic test
2018-05-14 20:12:29 +02:00
Hellowlol
faa8f42756
Add test.
2018-03-02 11:41:30 +01:00
Hellowlol
807d833ceb
move update progress so we can use it on music.
2018-02-22 12:29:39 +01:00
Michael Shepanski
61ede66ad5
Dont include token in URLs unless show_secrets set in config; All functions that return a URL such as stream urls and thumbnails still include token
2018-01-04 21:44:35 -05: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
9e9244fcfb
forgot one.
2017-11-01 23:18:35 +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
47e4c9d2b7
more tests
2017-10-29 01:29:58 +02:00
Hellowlol
baf655b88b
add split, unmatch, stop, installupdate
2017-10-29 00:40:35 +02:00
Hellowlol
0cc573b477
change patch_http_call so we cant just pass it.
2017-10-29 00:07:06 +02:00
Hellowlol
0f16ea9cb7
fix invite and add editfriend.
2017-10-28 22:58:47 +02:00
Hellowlol
fba0824ddd
fix damn typo
2017-10-27 01:18:21 +02:00
Hellowlol
368482fd11
add mocked invite user and remove users.
...
Maybe this shoud be a integration test too.
2017-10-27 01:09:17 +02:00
Hellowlol
0594f24f8b
mock delete properly
2017-10-26 23:55:59 +02:00
Hellowlol
6735ecc123
more more
2017-10-26 00:51:25 +02:00
Hellowlol
389cc5a30a
more cov
2017-10-25 23:43:23 +02:00
Hellowlol
d47d7931f5
Add some test for settings. TODO fix save.
2017-10-25 23:09:08 +02:00
Hellowlol
35dc558b3f
Lets include sections.
2017-10-25 22:07:06 +02:00
Hellowlol
807b6ebc3c
add more tests to inc cov.
2017-10-25 21:53:52 +02:00
Hellowlol
f8e594ff3f
Add test for a album inside a album 👍
2017-10-25 20:58:20 +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
Michael Shepanski
1121fdc1bb
Comment out failing test.
2017-10-11 23:28:19 -04:00
Hellowlol
8910a307f9
Fix tests
...
Should we just remove the cache and require that the user reloads this?
or i can reload in the tests.
2017-10-09 15:57:37 +02:00
Michael Shepanski
9c1b81b161
Fix test
2017-09-29 19:37:49 -04: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
7abd569bd7
Merge pull request #154 from pkkid/server_checks
...
add check_for_update, isLatest
2017-07-30 00:40:59 -04:00
Michael Shepanski
bc76208666
Merge pull request #152 from pkkid/shared_server
...
Shared server
2017-07-30 00:34:16 -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
a0f030e353
Add a test for share playlist.
2017-07-28 22:29:14 +02:00
Hellowlol
73c10abcce
fix bug, add test add todo for images from meta data.
2017-07-27 00:55:31 +02:00
Hellowlol
498ac29106
add tests for islatest and check for update
2017-07-18 23:20:49 +02:00
Michael Shepanski
61f691fd7b
No longer need username and password to run tests
2017-06-05 21:40:52 -04: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
1a175a74a0
Copy all client tests to pytest framework; Remove tests-old dir
2017-05-13 16:13:38 -04:00
Michael Shepanski
650a88d638
Started movinf client tests into Pytest framework
2017-05-12 23:25:57 -04:00
Michael Shepanski
ef8eb94bc5
Make another test xfail
2017-05-01 23:34:43 -04:00
Michael Shepanski
46608d789d
Tweak two tests; Remove Python 3.5 testing since we cover both before and after already
2017-05-01 23:33:26 -04:00
Michael Shepanski
47e4e8b902
Updated tests to use open source video details
2017-05-01 23:26:27 -04:00
Michael Shepanski
6fef8d7ff5
Remove xfail for doc test
2017-04-29 23:37:25 -04:00
Michael Shepanski
948af75c92
Install python3-sphinx, not python2
2017-04-29 22:43:42 -04:00
Michael Shepanski
166e4a829c
Be a bit nicer in test_server_alert_listener
2017-04-29 21:25:03 -04:00
Michael Shepanski
f5af8cdae3
Mark Alert thread class as daemon; Build docs directly from travis script (not a test)
2017-04-29 21:19:59 -04:00
Michael Shepanski
71b25c028d
Mark building docs as xfail; Remove specialized build docs test
2017-04-29 02:36:37 -04:00
Michael Shepanski
6bb18843d7
Fix a few tests
2017-04-29 02:21:20 -04:00
Michael Shepanski
35fc7718f5
Tests now passing on personal server
2017-04-29 01:47:21 -04:00
Michael Shepanski
109d7367f6
Rename tools to follow naming pattern
2017-04-27 21:21:40 -04:00
Michael Shepanski
a5180b879f
Use config to specify client and token; connect to PlexClient even if no token specified
2017-04-25 23:23:57 -04:00
Michael Shepanski
19039e1fed
Cleanup client settings in pytest
2017-04-25 23:09:37 -04:00
Michael Shepanski
be2142f7ed
Better logging when connecting to resources; Ability to specify timeout when connecting to resources; Update connect_to_resource test to be a bit more generic
2017-04-23 22:59:22 -04:00
Michael Shepanski
379b8ff63b
Tests now pass for both test servers
2017-04-23 01:54:53 -04:00
Michael Shepanski
7ec909dce6
Finish generic tests; a few things to polish before merge
2017-04-23 01:18:53 -04:00
Michael Shepanski
2513eb0b6d
Update test_utils
2017-04-17 23:32:08 -04:00
Michael Shepanski
29daf4c237
Update test_server
2017-04-16 23:33:33 -04:00
Michael Shepanski
5278d583bc
Update test_playlist
2017-04-16 11:58:21 -04:00
Michael Shepanski
7bb39aa05c
UPdating tests to work on second install
2017-04-14 20:47:59 -04:00
Michael Shepanski
fbbd3f0082
Merge pull request #139 from Hellowlol/lib_work
...
Lib work
2017-03-21 22:47:00 -04:00
Michael Shepanski
1dcbf85a9f
Changes to myplex.py from code review; Update test_documentation to check for warnings and errors
2017-02-27 23:43:31 -05:00
Hellowlol
db3b729360
one step closer with the test.
2017-02-27 23:16:02 +01:00
Michael Shepanski
e87a7346c6
Fix test
2017-02-27 00:36:20 -05:00
Hellowlol
53fab6239a
fix tests for download logs/dbs
...
fix clients. Clients now tries to get info from plex.tv resources in the
port is missing.
add quote_plus to compat
2017-02-26 22:47:40 +01:00
Hellowlol
baeedcebbf
add download log/db.
2017-02-26 21:01:54 +01:00
Michael Shepanski
e66cc0a9c0
I was never happy with notifier being the name of the event listener. AlertListener is more boring, but also more clear what its doing.
2017-02-24 23:50:58 -05:00
Michael Shepanski
1bf09cb863
Convert README to rst to allow import into docs
2017-02-20 14:50:02 -05:00
Michael Shepanski
50af39c6f3
Test README examples
2017-02-20 02:10:45 -05:00
Michael Shepanski
1b549878ee
Add missing imports
2017-02-19 23:21:37 -05:00
Michael Shepanski
a546db6fe7
Function name in camelCase ot match rest of code
2017-02-19 23:05:33 -05:00
Michael Shepanski
e48a66e00c
Merge pull request #122 from Hellowlol/add_indexes
...
Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121
2017-02-19 22:57:06 -05:00
Michael Shepanski
228f049190
Pluralize function name; Its more clear more than one thing is being deleted
2017-02-19 22:51:17 -05:00
Michael Shepanski
601471c304
Merge branch '3.0.0' into pkkid/opt
2017-02-19 22:36:53 -05:00
Michael Shepanski
4b1a564409
All config options can be set with environment variables; Update all os.environ calls to use CONFIG.get; Finish documenting configuration options.
2017-02-19 22:18:23 -05:00
Hellowlol
0c0cefa27f
tempfix test_build_documentation to the test can run on windows.
2017-02-19 00:57:07 +01:00
Hellowlol
558c6a0f41
Add tests for library and section deleteMediaPreview
2017-02-18 22:15:49 +01:00
Hellowlol
c7c04d2a42
Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121
2017-02-18 01:51:06 +01:00
Michael Shepanski
6b933c3aaa
Merge pull request #119 from Hellowlol/plq
...
add support to shuffle to createplayqueue and playlist.playqueue
2017-02-14 23:27:23 -05:00
Michael Shepanski
e74c79d344
Merge branch '3.0.0' into fixds
2017-02-14 23:16:58 -05:00
Michael Shepanski
8c51fc6b77
Merge master
2017-02-14 23:07:41 -05:00
Michael Shepanski
5cac2e6872
Remoce .date()
2017-02-14 22:55:55 -05:00
Michael Shepanski
fdb7332695
Make all dates ranges
2017-02-14 22:49:14 -05:00
Michael Shepanski
eeba6dfad2
Merge master
2017-02-14 22:43:22 -05:00
Michael Shepanski
f013c2f21c
This test is the bane of my existence.
2017-02-14 22:41:22 -05:00
Michael Shepanski
ce659f4dca
Earlier date
2017-02-14 22:34:42 -05:00
Michael Shepanski
0d8069b855
One of these days the test will pass
2017-02-14 22:14:25 -05:00
Michael Shepanski
0227f09fbd
Be less strict
2017-02-14 21:57:09 -05:00
Michael Shepanski
5c827efcd6
Artwork changed?
2017-02-14 21:48:43 -05:00
Michael Shepanski
ed3fa70a6f
Comment out broken test
2017-02-14 21:36:59 -05:00
Hellowlol
ff1e6036e9
fixtest
2017-02-15 01:07:19 +01:00
Hellowlol
9dc7c30e5f
refresh now correctly redownload all metadata from the interwebz
...
update scans the library for new media files.
2017-02-14 23:36:21 +01:00
Hellowlol
5e18776ee2
add support to shuffle to createplayqueue and playlist.playqueue
...
See the tests for examples.
2017-02-14 22:12:56 +01:00
Michael Shepanski
b77237e5ed
Fix excpetion caught
2017-02-14 00:35:13 -05:00
Michael Shepanski
b36a6776a5
Add build documentation test
2017-02-13 17:44:28 -05:00
Michael Shepanski
1815e67804
Remove unneeded util functions
2017-02-13 01:48:04 -05:00
Michael Shepanski
7824f762f0
Fix download test
2017-02-12 22:49:29 -05:00
Michael Shepanski
44677e59a6
Merge dev
2017-02-12 22:38:56 -05:00
Michael Shepanski
9052cf7be2
Remove findLocations util function; All locations plural; Fix tests
2017-02-12 22:33:38 -05:00
Michael Shepanski
9b791b95e7
Add TAG constant to PlexObjects; Better method to save and build PLEXOBJECTS; All objects in media.py are now registered and can be looked up; Remove __len__ on Library class (it was causing URL to load twice).
2017-02-12 21:55:55 -05:00
Michael Shepanski
a692fbcd6f
Merge branch '3.0.0' into add_delete
2017-02-11 11:46:49 -05:00
Hellowlol
54faa30d2d
fix my fix of my bug... comment out server updatedat.
2017-02-11 11:09:35 +01:00
Michael Shepanski
3783f3c61b
Add missing requirement for dev. Document that you need websocket-client installed in order to use PlexNotifier
2017-02-10 23:26:09 -05:00
Michael Shepanski
6b1ae844c5
Add PlexNotifier class; Ability to monitor plex notifications (current scan progress, transcode session updates, etc)
2017-02-10 23:08:36 -05:00
Hellowlol
b37e7fefeb
Fix test_video.py::test_video_Show_section
...
remove untrue comment
2017-02-11 00:32:51 +01:00
Hellowlol
6be7fa8a29
Add delete
...
Supports media elements and librarys
2017-02-11 00:16:23 +01:00
Michael Shepanski
6fa7c12c48
Implement fetchItem filters; All tests passing?
2017-02-09 01:54:38 -05:00
Michael Shepanski
5443711b90
Make _query and _url public methods since we use it as such
2017-02-08 23:29:17 -05:00
Michael Shepanski
f676d4cbbf
Most tests passing; Need to add better filters on fetchItems for watched / unwatched
2017-02-08 02:00:43 -05:00
Michael Shepanski
e3abfeeb0f
Audio tests passing
2017-02-08 00:36:22 -05:00
Michael Shepanski
fcc1248a9b
Fix private variable names in tests
2017-02-07 02:14:49 -05:00
Michael Shepanski
c072347593
MyPlex tests working (missed checkin)
2017-02-07 02:02:01 -05:00
Michael Shepanski
6a35f50a43
CHECKPOINT: Lots going on; Added new base class PlexObject that everything inherits from, this ensures all constructors are similar; Lots of work on new tool plexattrs that parses a full Plex library to find differences in attributes plexapi implements and what the Plex XML API offers up; Tests will most definetly be broken at this point, but I wanted to save my work.
2017-02-05 23:52:10 -05:00
Michael Shepanski
cf99256450
Fix tests
2017-02-04 14:18:10 -05:00
Michael Shepanski
a2cdc97453
Fix tests; comment out a few that were breaking because of timezone aware datetimes; Perhaps converting datetimes to timestamps then comparing the int values will be more reliable.
2017-02-03 11:39:46 -05:00
Michael Shepanski
19d25537a8
Revert hubsearch merge changes to cast() function
2017-02-03 10:25:11 -05:00
Michael Shepanski
622c2490a0
Clean formatting
2017-02-01 23:47:22 -05:00
Michael Shepanski
b648933963
Fix modified state in test
2017-02-01 23:23:46 -05:00
Michael Shepanski
d90e1a74ac
Move archived tests; PyTest was picking them up in the other location
2017-02-01 23:18:32 -05:00
Michael Shepanski
45857f9fb7
Move pytests up to main tests folder; Move old tests to archived folder
2017-02-01 23:10:12 -05:00
Hellowlol
8d8eeb4faa
ffs
2017-02-01 20:55:08 +01:00
Hellowlol
e06f6250a3
mroe cov
2017-02-01 20:55:08 +01:00
Hellowlol
bbcefe2d53
add client base.
2017-02-01 20:49:13 +01:00
Hellowlol
37f3a0588e
fake it.
2017-02-01 20:49:12 +01:00
Hellowlol
a72dd6256a
more cov
2017-02-01 20:49:11 +01:00
Hellowlol
19506e272d
more cov
2017-02-01 20:46:53 +01:00
Hellowlol
7e9bd51d55
testing testing, 1, 2, 3.
2017-02-01 20:41:20 +01:00
Hellowlol
7367e531a2
f
2017-02-01 20:21:14 +01:00
Michael Shepanski
807a29bbf2
Use the correct env variables
2017-01-24 01:04:12 -05:00
Michael Shepanski
48d97adea5
Log username
2017-01-24 01:01:45 -05:00
Michael Shepanski
c29915dd2a
Grab login creds from environment
2017-01-24 00:58:35 -05:00
Michael Shepanski
35ea5ae18a
Much cleaner test layout; Move test config to config.ini
2017-01-08 23:40:39 -05:00
Michael Shepanski
06918c7ae0
Another photo test
2016-07-07 23:31:49 -04:00
Michael Shepanski
00f1b6c6ba
Working photo playlist test
2016-07-07 23:10:41 -04:00
Michael Shepanski
98671d7e79
Add missing section() function to Photo object; Work on showing photos on client (not working yet)
2016-07-07 22:41:11 -04:00
Michael Shepanski
5701af7ed4
Ability to play playlists
2016-04-13 22:36:12 -04:00
Michael Shepanski
ba9eab0229
Minor bugfixes
2016-04-12 23:52:47 -04:00
Michael Shepanski
e5fc43a85f
Fix thing I broke
2016-04-12 23:26:04 -04:00
Michael Shepanski
1a679411dc
Ability to list all albums; Fix setting object values when not found (NA) and we know its the full object
2016-04-12 22:47:46 -04:00
Michael Shepanski
748fc68406
Cleanup playlist support; Fix UUID on URLs; Better method to store listTypes; Cache section IDs in library
2016-04-11 22:43:21 -04:00
Michael Shepanski
3138ad1087
Added playlist support
2016-04-10 23:49:23 -04:00
Michael Shepanski
09a7ae80db
Basic support for photos complete
2016-04-09 23:59:47 -04:00
Michael Shepanski
81e22147c0
Get examples working again; Add new examples most_streamed_titles and most_active_users
2016-04-07 22:48:45 -04:00
Michael Shepanski
80529a21c7
Rename MyPlexUser to MyPlexAccount; Add support for real MyPlexUsers; Add api for history; New tests for sessions() and history()
2016-04-07 01:39:04 -04:00
Michael Shepanski
610bf16ce3
Client control via proxy working; Re-enable control via proxy tests
2016-04-05 23:32:49 -04:00
Michael Shepanski
e81f2506e9
Move _find function from PlexPartialObject to generic utility functions
2016-04-03 23:17:29 -04:00
Michael Shepanski
84a6999ed7
Ability to directly create a PlexClient object (without needing a PlexServer object); Cleaned up MyPlex code; Removed duplicated Client navigation code from myplex (everything uses PlexClient now)
2016-04-02 02:19:32 -04:00
Michael Shepanski
7bb700d395
New test for client.timeline(); Fix bug in missing proper headers for timeline
2016-03-31 23:39:09 -04:00
Michael Shepanski
d63339bd24
Cleanup search a bit; Get existing tests passing and add a few new search tests
2016-03-31 18:36:54 -04:00
Michael Shepanski
b10faf8560
Checkpoint: New implementation for search
2016-03-31 16:52:48 -04:00
Michael Shepanski
03469a7f55
Cleanup playback commands; Remove proxy tests, it needs a bit more expirimentation
2016-03-24 22:36:25 -04:00
Michael Shepanski
b277facf10
Revisit client code; Add more testing around clients; Still cant get playback working through server proxy, but it works directly
2016-03-24 02:20:08 -04:00
Michael Shepanski
bcf01fdcdf
Move getStreamURL to PlexPartialObject; Remove duplicated code; Add getStreamURL tests (doesnt actualy test the stream works tho)
2016-03-22 23:38:06 -04:00
Michael Shepanski
a999df8e94
Audio support complete; Added more audio tests; renamed is_watched to isWatched
2016-03-21 23:12:12 -04:00
Michael Shepanski
d4e8bdba70
Checkpoint: Adding Audio support; Cleanup attribute definitions to only include what the Plex objects actually include.
2016-03-21 00:26:02 -04:00
Michael Shepanski
276ba26b77
Create registry of library items we may see in xml; Cleanup how we handle build_item and list_items
2016-03-17 00:51:20 -04:00
Michael Shepanski
fd83cbab8a
Cleanup Audio/Video search at the server & library level. Start testing audio a bit more
2016-03-15 14:36:59 -04:00
Michael Shepanski
830f96cf28
Add tagging to tests to more easily run tests for a specific category
2016-03-15 11:04:53 -04:00