Some *_tests are not covered well:
- deletionbot_tests.py
- edit_failure_tests.py
- edit_tests.py
- flow_edit_tests.py
- flow_thanks_tests.py
- l10n_tests.py
- protectbot_tests.py
- thanks_tests.py
- tk_tests.py
- uploadbot_tests.py
- upload_tests.py
- wikibase_edit_tests.py
See https://codecov.io/gh/wikimedia/pywikibot/tree/master/tests