Add unittest for DatabaseChooser to check for opening/closing behavior #45
Labels
good first issue
Good for newcomers
technical-debt
This increases the code quality without changing the functionality
The class is currently poorly covered. There should be either no or a single open connection to an SQL database. We should never happen to work with a closed connection object. This should be checked by using mocking - see https://docs.python.org/3/library/unittest.mock.html for reference.
The text was updated successfully, but these errors were encountered: