56f3b3a027
Respond to the low-hanging code review fruit: - Clean up some comments - Remove an acidentally added duplicate init_autosave - Combine two test_history tests - Move test_init cleanup into a fixture to ensure it gets called. - Name the _ argument of bind(_) to _key - Ensure index is valid for first_item/last_item - Move SqlException to top of module - Rename test_index to test_getitem - Return QItemFlags.None instead of None - Fix copyright dates (its 2017 now!) - Use * to force some args to be keyword-only - Make some returns explicit - Add sql to LOGGER_NAMES - Add a comment to explain the sql escape statement |
||
---|---|---|
.. | ||
fixtures.py | ||
logfail.py | ||
messagemock.py | ||
stubs.py | ||
test_helper_utils.py | ||
test_logfail.py | ||
test_stubs.py | ||
utils.py |