[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin-tests] 03/05: adjust check
From: |
gnunet |
Subject: |
[libeufin-tests] 03/05: adjust check |
Date: |
Thu, 03 Dec 2020 13:39:17 +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 8f49e5e4772196b3bf4e480fe3a12a66813e13fe
Author: MS <ms@taler.net>
AuthorDate: Tue Dec 1 21:45:29 2020 +0100
adjust check
---
checks.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/checks.py b/checks.py
index f67b042..ddaa22f 100755
--- a/checks.py
+++ b/checks.py
@@ -39,7 +39,11 @@ def test_camt53_example1():
entries = parsed["reports"][0]["entries"]
assert(len(entries) == 2)
assert(len(entries[0]["batches"][0]["batchTransactions"]) == 0)
- assert(len(entries[1]["batches"][0]["batchTransactions"]) == 0)
+
+ # Although this money movement is a singleton, it lacks important
+ # information like unstr. rem. and counterpart IBAN. It should validate
+ # but not show up in a Taler facade (and not even get reimbursed)
+ assert(len(entries[1]["batches"][0]["batchTransactions"]) == 1)
def test_camt53_example2():
# This document is linked to a c54 report.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.