Commit graph

13 commits

Author SHA1 Message Date
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
jjlawren
ec13eecc59
Update Plex tests to mock websockets ()
* Update Plex tests to mock websockets

* Avoid unnecessary class mock
2020-06-27 10:03:51 +02:00
jjlawren
40573bf393
Plex tests cleanup and additions () 2020-06-25 23:24:58 -07:00
jjlawren
fd1a8dd96c
Fix Plex when using local tokenless authentication () 2020-06-25 17:10:40 -07:00
jjlawren
d5cc3208af
Discover controllable Plex clients using plex.tv () 2020-06-17 12:04:47 -07:00
jjlawren
9aac8482d5
Remove deprecated Plex YAML config () 2020-06-03 09:20:21 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen
454c5d824a
Attempt to fix CI () 2020-04-28 10:31:22 -07:00
jjlawren
42ca566e05
Improve Plex debounce/throttle logic ()
* Improve Plex debounce/throttle logic

* Use Debouncer helper, rewrite affected tests

* Mock storage so files aren't left behind

* Don't bother with wrapper method, store debouncer call during init

* Test cleanup from review

* Don't patch own code in tests
2020-04-10 00:49:09 +02:00
jjlawren
d3a4270312
Plex logging additions & cleanup () 2020-04-04 23:21:20 -07:00
jjlawren
42353282d4
Debounce calls to Plex server ()
* Debounce calls to Plex server

* Simplify debounce by recommendation

* Update tests to handle debounce

* Test debouncer, fix & optimize tests

* Use property instead
2020-04-03 22:34:42 -07:00
jjlawren
312af53935
Handle Plex certificate updates ()
* Handle Plex certificate updates

* Use exception in place

* Add test
2020-03-28 21:02:29 -07:00
jjlawren
44c7743351
Rewrite and add Plex tests ()
* Rewrite and add Plex tests

* Remove unnecessary mocks

* Explicitly import constants for readability
2020-03-11 09:37:02 -07:00