gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin-tests] 02/02: abstracting checks


From: gnunet
Subject: [libeufin-tests] 02/02: abstracting checks
Date: Mon, 30 Nov 2020 17:23:15 +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 52a2e7af83277337630e38e81dcfaf46d32d269a
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 30 17:23:08 2020 +0100

    abstracting checks
---
 checks.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/checks.py b/checks.py
index bc38948..e0a2c6b 100755
--- a/checks.py
+++ b/checks.py
@@ -52,6 +52,14 @@ def test_camt53_example1():
     assert(len(entries[0].get("batches")) == 2)
     assert(len(entries[1].get("batches")) == 1)
 
-@pytest.mark.skip("todo")
 def test_camt53_example2():
+    #
+    # This document has the following structure:
+    #
+    # - box #0
+    # -- batch
+    # --- tx
     parsed = call_parser("./samples/camt53_example2.xml")
+    entries = parsed.get("entries")
+    assert(len(entries) == 1)
+    assert(len(entries[0].get("batches")) == 1)

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