From daacbd6a34a75e5b9d0ad5e34a44c257ec27be9b Mon Sep 17 00:00:00 2001 From: Levente Pap Date: Wed, 26 Feb 2020 16:11:02 +0100 Subject: [PATCH] Fix PromoteTransactionCommandTestCase - mocked cc call didn't contain 'info' key --- test/commands/extended/promote_transaction_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/commands/extended/promote_transaction_test.py b/test/commands/extended/promote_transaction_test.py index b8e9c4e..99a4647 100644 --- a/test/commands/extended/promote_transaction_test.py +++ b/test/commands/extended/promote_transaction_test.py @@ -401,6 +401,7 @@ async def test_not_promotable(self): self.adapter.seed_response('checkConsistency', { 'state': False, + 'info': 'Something went terribly wrong.', }) with self.assertRaises(BadApiResponse):