def test_get_table_names(self): db = SQLite(os.path.dirname(__file__) + '/../data/northwind.db') tables = db.get_table_names() pprint(tables)
def test_find_by(self): db = SQLite(os.path.dirname(__file__) + '/../data/northwind.db') data = db.find_by('Customers', 'City', 'Berlin') pprint(data)
def test_find_all(self): db = SQLite(os.path.dirname(__file__) + '/../data/northwind.db') data = db.find_all('Customers') pprint(data)