fix tests
This commit is contained in:
parent
8daaefa4a4
commit
001c8e1930
@ -31,7 +31,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase):
|
|||||||
return dr
|
return dr
|
||||||
|
|
||||||
async def test_bankchain(self):
|
async def test_bankchain(self):
|
||||||
set_gather_asyncio()
|
set_gather_linear()
|
||||||
with self.subTest('create empty'):
|
with self.subTest('create empty'):
|
||||||
bank: BankChain = BankChain.empty(ReductionChainMetaFactory().loose())
|
bank: BankChain = BankChain.empty(ReductionChainMetaFactory().loose())
|
||||||
with self.subTest('prepare transactions'):
|
with self.subTest('prepare transactions'):
|
||||||
@ -158,7 +158,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase):
|
|||||||
print(await AVL.height(tree.protocolized()))
|
print(await AVL.height(tree.protocolized()))
|
||||||
|
|
||||||
async def test_encryption(self):
|
async def test_encryption(self):
|
||||||
set_gather_asyncio()
|
set_gather_linear()
|
||||||
instrumentation = Counter(Encrypted, 'encrypt')
|
instrumentation = Counter(Encrypted, 'encrypt')
|
||||||
with self.subTest('setup'):
|
with self.subTest('setup'):
|
||||||
key = b'a' * 32
|
key = b'a' * 32
|
||||||
|
Loading…
Reference in New Issue
Block a user