gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] 04/05: error message


From: gnunet
Subject: [libeufin] 04/05: error message
Date: Thu, 18 Jun 2020 15:27:06 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

commit 87f0950a5f151bb299272b509e7c17c7d1d5576c
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Jun 18 18:52:05 2020 +0530

    error message
---
 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
index bbdfe53..99a2d19 100755
--- 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!")

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]