forked from LBRYCommunity/lbry-sdk
15 lines
363 B
Python
15 lines
363 B
Python
from twisted.trial import unittest
|
|
from twisted.internet import defer
|
|
|
|
from torba.basedatabase import BaseSQLiteWalletStorage
|
|
|
|
|
|
class TestDatabase(unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
self.db = BaseSQLiteWalletStorage(':memory:')
|
|
return self.db.start()
|
|
|
|
@defer.inlineCallbacks
|
|
def test_empty_db(self):
|
|
result = yield self.db.
|