[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin-tests] 05/05: adjust and extend checks
From: |
gnunet |
Subject: |
[libeufin-tests] 05/05: adjust and extend checks |
Date: |
Thu, 03 Dec 2020 13:39:19 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin-tests.
commit 805ed54ca6ba297b527e61551fb95ba31b467e4e
Author: MS <ms@taler.net>
AuthorDate: Tue Dec 1 21:51:20 2020 +0100
adjust and extend checks
---
checks.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks.py b/checks.py
index dbc188c..cbbc198 100755
--- a/checks.py
+++ b/checks.py
@@ -57,7 +57,7 @@ def test_camt53_example3():
parsed = call_parser("./samples/camt53_example3.xml")
entries = parsed["reports"][0]["entries"]
assert(len(entries) == 4)
- assert(len(entries[0]["batches"][0]["batchTransactions"]) == 0)
+ assert(len(entries[0]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[1]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[2]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[3]["batches"][0]["batchTransactions"]) == 1)
@@ -69,7 +69,7 @@ def test_camt53_example4():
parsed = call_parser("./samples/camt53_example4.xml")
entries = parsed["reports"][0]["entries"]
assert(len(entries) == 4)
- assert(len(entries[0]["batches"][0]["batchTransactions"]) == 0)
+ assert(len(entries[0]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[1]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[2]["batches"][0]["batchTransactions"]) == 1)
assert(len(entries[3]["batches"][0]["batchTransactions"]) == 1)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.