gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: testing #6657


From: gnunet
Subject: [libeufin] branch master updated: testing #6657
Date: Mon, 14 Dec 2020 10:09:56 +0100

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 69cc835  testing #6657
69cc835 is described below

commit 69cc8359da2e929fd1bdc8113bc82141d0658291
Author: MS <ms@taler.net>
AuthorDate: Mon Dec 14 10:09:52 2020 +0100

    testing #6657
---
 parsing-tests/checks.py | 6 ++++++
 parsing-tests/samples   | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/parsing-tests/checks.py b/parsing-tests/checks.py
index 1bf2333..537187d 100755
--- a/parsing-tests/checks.py
+++ b/parsing-tests/checks.py
@@ -28,6 +28,12 @@ def get_json_from_disk(json_file):
     with open(json_file_abs) as j:
         return json.load(j)
 
+def test_dashed_subject():
+    parsed = call_parser("./samples/camt53_example_dashed_subject.xml")
+    entries = parsed["reports"][0]["entries"]
+    tx = entries[0]["batches"][0]["batchTransactions"][0]
+    assert tx["details"]["unstructuredRemittanceInformation"] == 
"subject-with-dashes"
+
 def test_camt53_example3():
     parsed = call_parser("./samples/camt53_example3.xml")
     entries = parsed["reports"][0]["entries"]
diff --git a/parsing-tests/samples b/parsing-tests/samples
index 8c25bb4..4e36caa 160000
--- a/parsing-tests/samples
+++ b/parsing-tests/samples
@@ -1 +1 @@
-Subproject commit 8c25bb4302a0ec1146cf910b024e7afd89e84592
+Subproject commit 4e36caa0b9557d7446488d7eec7c80e6f1e554ac

-- 
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]