From 1a19695e6edaf7ee26e870257e217eabafec3ce1 Mon Sep 17 00:00:00 2001 From: timotheyca <tim@ongoteam.yaconnect.com> Date: Tue, 21 Jun 2022 21:23:36 +0300 Subject: [PATCH] fix test_all print bank bug --- rainbowadn/testing/test_all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rainbowadn/testing/test_all.py b/rainbowadn/testing/test_all.py index 11f32e5..a6133a3 100644 --- a/rainbowadn/testing/test_all.py +++ b/rainbowadn/testing/test_all.py @@ -51,7 +51,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase): bank = await bank.adds( [] ) - print(bank) + print(bank.reference.str(0)) with self.subTest('verify'): assert_true(await bank.verify()) with self.subTest('recover'): @@ -59,7 +59,7 @@ class TestAll(unittest.IsolatedAsyncioTestCase): bank = BankChain.from_reference( ReductionChainMetaFactory(), await dr.migrate_resolved(bank.reference) ) - print(bank) + print(bank.reference.str(0)) with self.subTest('verify'): assert_true(await bank.verify())