Commit graph

195 commits

Author SHA1 Message Date
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