JonnyWong16
|
35008908fc
|
Improve parsing to datetime and add error handling (#1203)
* Improve parsing to datetime and add error handling
* Fix utils.millisecondToHumanstr for days and negatives
* Update tests for millisecondToHumanstr
|
2023-08-27 12:06:07 -07:00 |
|
JonnyWong16
|
e640f57319
|
Add utils.toJson(obj) function to convert an object to a JSON string (#998)
* Add `utils.toJson(obj)` function to convert an object to a JSON string
* Add test for utils.toJson()
|
2022-08-27 00:13:41 -07:00 |
|
JonnyWong16
|
01131c95cf
|
Cleanup download methods (#847)
* Add utils.cleanFilename
* Refactor download methods
* Add option to download episodes, tracks, photos into subfolders
* Update download tests
* Test download keep_original_filename
|
2021-11-20 14:16:58 -08:00 |
|
JonnyWong16
|
663402ed74
|
Update tests
|
2021-06-18 15:26:24 -07:00 |
|
jjlawren
|
fe3907e770
|
Fix timestamp assertion in tests (#547)
|
2020-08-07 15:47:46 -05:00 |
|
Hellowlol
|
d7c215b119
|
Small change to the repr and add test.
|
2020-06-14 20:21:46 +02:00 |
|
Hellowlol
|
c9052ef933
|
fix audio test
run black on some tests
|
2020-04-30 00:49:11 +03:00 |
|
Hellowlol
|
6741be06c4
|
fix tests
|
2020-04-14 22:13:30 +02:00 |
|
Andrey Yantsen
|
4e2fa8254b
|
fix utils test
|
2018-09-14 23:29:14 +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
|
284a3b615a
|
More hidden stuff..
|
2017-10-14 00:29:52 +02:00 |
|
Michael Shepanski
|
2513eb0b6d
|
Update test_utils
|
2017-04-17 23:32:08 -04:00 |
|
Michael Shepanski
|
a546db6fe7
|
Function name in camelCase ot match rest of code
|
2017-02-19 23:05:33 -05:00 |
|
Hellowlol
|
c7c04d2a42
|
Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121
|
2017-02-18 01:51:06 +01: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 |
|
Hellowlol
|
b37e7fefeb
|
Fix test_video.py::test_video_Show_section
remove untrue comment
|
2017-02-11 00:32:51 +01: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
|
fcc1248a9b
|
Fix private variable names in tests
|
2017-02-07 02:14:49 -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
|
622c2490a0
|
Clean formatting
|
2017-02-01 23:47:22 -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 |
|