Private GIT

Skip to content
Snippets Groups Projects
Commit b0cdd578 authored by sharkykh's avatar sharkykh Committed by miigotu
Browse files

Fix for PostProccessing, Python3 compatibility and some new tests (#3221)

* Implement some tests of config_tests.py

Notes:
check_setting_int + check_setting_float have unreachable code when value is of None type.
They don't get to check str(my_val) == str(None) because an exception is already thrown when float/int(config[cfg_name][item_name]) fails to convert NoneType.

* ConfigTestChanges

* ConfigTestChanges, try #2

* ConfigTestChanges, now it'll work.

* The best I could do right now for config_tests.py

* Add more checks in config.check_setting_*
Add missing tzlocal to libs,
Rename minimax to mini_max and CheckSection to check_section
sixify sickbeard.config and use unicode_literals

* Updated migration names.

* Correct Config Migration v9 labels

* See how converting to six works out -DNM

* More unicode_literals, six conversions, and fixes

* Update concurrent.futures

* More unicode_literals, six conversions, and fixes

* Remove u prefixes, add unicode_literals

* Fix index errors for sqlite3.Row, fix unquote_plus call/import

* No need to check str(None) since it will already throw. You were right =P

* An attempt to fix #3231, fix #3230, fix #3220, fix #3216, and fix #3052

* HelpersZipTests

* More sqlite3.Row fixes

* Fix up subtitle renaming in the post processor, Fix error trying to replace_extension on the cur_file_name (basename) rather than the cur_file_path (full name with extension) <-- This might have been the whole pp problem.

* More sqlite3.Row, fix remaining pp issues

* Small adjustment

* /slap

* Fix endswith
parent 3e3cb6ec
No related branches found
No related tags found
No related merge requests found
Showing
with 283 additions and 302 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment