gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin-tests] branch master updated: basic files


From: gnunet
Subject: [libeufin-tests] branch master updated: basic files
Date: Mon, 23 Nov 2020 19:56:43 +0100

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

ms pushed a commit to branch master
in repository libeufin-tests.

The following commit(s) were added to refs/heads/master by this push:
     new 21997c0  basic files
21997c0 is described below

commit 21997c0380a825871dae186ee02399816b5be3f3
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 23 19:56:36 2020 +0100

    basic files
---
 Makefile  |  2 ++
 README    |  2 ++
 checks.py | 12 ++++++++++++
 3 files changed, 16 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1da13a5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+check:
+       @py.test checks.py
diff --git a/README b/README
new file mode 100644
index 0000000..7488093
--- /dev/null
+++ b/README
@@ -0,0 +1,2 @@
+This repository holds sample CAMT files.  The bootstrap
+script downloads libeufin as submodule.
diff --git a/checks.py b/checks.py
new file mode 100755
index 0000000..3cee193
--- /dev/null
+++ b/checks.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import os
+from subprocess import check_call
+
+def call_parser(xml_file):
+    assert os.path.isdir("./libeufin")
+    assert os.path.isfile(xml_file)
+    check_call(["./gradlew", "-p",  "./libeufin", "nexus:run", 
f"--args=parse-camt {xml_file}"])
+
+def test_camt_foo():
+    call_parser("samples/foo.xml")

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