Commit graph

6 commits

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