コード例 #1
0
ファイル: test_txdb.py プロジェクト: sriharikapu/ngcccbase
 def setUp(self):
     connection = sqlite3.connect(":memory:")
     self.store = txdb.TxDataStore(connection)
     self.model = MockModel()
コード例 #2
0
ファイル: test_txdb.py プロジェクト: sriharikapu/ngcccbase
 def test_initialization(self):
     connection = sqlite3.connect(":memory:")
     store = txdb.TxDataStore(connection)
     self.assertTrue(store.table_exists("tx_data"))