python-plexapi/tests
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
..
__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 Sync support (#282) 2018-09-08 17:25:16 +02:00
test_actions.py UPdating tests to work on second install 2017-04-14 20:47:59 -04:00
test_audio.py Add test. 2018-03-02 11:41:30 +01:00
test_client.py Copy all client tests to pytest framework; Remove tests-old dir 2017-05-13 16:13:38 -04:00
test_library.py forgot one. 2017-11-01 23:18:35 +01:00
test_misc.py Remove xfail for doc test 2017-04-29 23:37:25 -04:00
test_myplex.py Fix some tests 2018-01-02 00:15:40 +01:00
test_navigation.py UPdating tests to work on second install 2017-04-14 20:47:59 -04:00
test_photo.py Add test for a album inside a album 👍 2017-10-25 20:58:20 +02:00
test_playlist.py add more tests to inc cov. 2017-10-25 21:53:52 +02:00
test_search.py Clean formatting 2017-02-01 23:47:22 -05:00
test_server.py 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
test_settings.py Add some test for settings. TODO fix save. 2017-10-25 23:09:08 +02:00
test_sync.py Sync support (#282) 2018-09-08 17:25:16 +02:00
test_utils.py 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
test_video.py Basic test 2018-05-14 20:12:29 +02:00