fix tests

This commit is contained in:
AF 2022-06-23 00:59:26 +03:00
parent 8daaefa4a4
commit 001c8e1930

View File

@ -31,7 +31,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase):
return dr
async def test_bankchain(self):
set_gather_asyncio()
set_gather_linear()
with self.subTest('create empty'):
bank: BankChain = BankChain.empty(ReductionChainMetaFactory().loose())
with self.subTest('prepare transactions'):
@ -158,7 +158,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase):
print(await AVL.height(tree.protocolized()))
async def test_encryption(self):
set_gather_asyncio()
set_gather_linear()
instrumentation = Counter(Encrypted, 'encrypt')
with self.subTest('setup'):
key = b'a' * 32