I did some clean up and add comment and unittest before starting on adding #16 feature.
I propose here the refactoring so the next PR will be shorter… ;)
unittest database.py at 88% (only the print(exception) are not tested)
fix almost all the PEP8 error
comment and document the main piece of code
make a distinction between private and/or static method
(I recommend you to review it commit per commit instead of "in one big chuck")
I did some clean up and add comment and unittest before starting on adding #16 feature. I propose here the refactoring so the next PR will be shorter… ;)
print(exception)
are not tested)(I recommend you to review it commit per commit instead of "in one big chuck")