Exemplo n.º 1
0
 def test_create_db_full_path(self):
     path = os.path.join(self.ROOT, "test.db")
     s = Storage(path, echo=False)
     self.assertTrue(database_exists(f"sqlite:///{path}"))
     s.delete_db()
Exemplo n.º 2
0
 def test_create_db(self):
     s = Storage("test.db", echo=False)
     self.assertTrue(database_exists("sqlite:///test.db"))
     s.delete_db()