commit 87f0950a5f151bb299272b509e7c17c7d1d5576c parent a31d6b760ae636dc3f59ea35f75c779f297b8732 Author: Florian Dold <florian.dold@gmail.com> Date: Thu, 18 Jun 2020 18:52:05 +0530 error message Diffstat:
| M | integration-tests/test-ebics-highlevel.py | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/integration-tests/test-ebics-highlevel.py b/integration-tests/test-ebics-highlevel.py @@ -220,7 +220,9 @@ resp = assertResponse( ) ) -if len(resp.json().get("transactions")) != 1: - fail("Unexpected number of transactions; should be 1") +transactions = resp.json().get("transactions") + +if len(transactions) != 1: + fail(f"Unexpected number of transactions ({len(transactions)}); should be 1") print("Test passed!")