def setUp(self): connection = sqlite3.connect(":memory:") self.store = txdb.TxDataStore(connection) self.model = MockModel()
def test_initialization(self): connection = sqlite3.connect(":memory:") store = txdb.TxDataStore(connection) self.assertTrue(store.table_exists("tx_data"))