currently our database.py stuff is directly depending on python's sqlite implementation, which makes it hard to test (because it requires a database to call the functions in there.
To get rid of this coupling, an abstraction layer/interface should be introduced there.
Along with that, I'd also like to split this file into multiple files that each do one thing only.
currently our
database.py
stuff is directly depending on python's sqlite implementation, which makes it hard to test (because it requires a database to call the functions in there.To get rid of this coupling, an abstraction layer/interface should be introduced there.
Along with that, I'd also like to split this file into multiple files that each do one thing only.