#### Description <!-- A clear and concise description of what you want to happen. --> with the python 3.8 upgrade https://github.com/CSCfi/beacon-python/pull/221 some tests for db are failing because mock need to be done differently #### DoD (Definition of Done) <!-- How to know this is implemented. Preferably one short sentence. --> restore db unit tests #### Testing <!-- How can someone else verify the task, can be test-suite or something else. --> unit tests coverage > 90%
Description
with the python 3.8 upgrade #221 some tests for db are failing because mock need to be done differently
DoD (Definition of Done)
restore db unit tests
Testing
unit tests coverage > 90%