def tearDown(self): Database.close() super().tearDown()
def setUp(self): super().setUp() Database.configure(self.config) Database.init(_destroy=True) Database.open()