def test_db_connection(self):
     d = Database()
     self.assertTrue(d.check_db())
Beispiel #2
0
from db import Database

banco = Database()

banco.check_db()

banco.update(2, ['20', '4'])

banco.check_db()