gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: tests


From: gnunet
Subject: [libeufin] branch master updated: tests
Date: Mon, 07 Dec 2020 15:18:52 +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 da5bdc6  tests
da5bdc6 is described below

commit da5bdc694047484fc4c60fa9afe27b43409e51f5
Author: MS <ms@taler.net>
AuthorDate: Mon Dec 7 15:18:02 2020 +0100

    tests
    
    introducing a function to launch nexus and sandbox
    and wait for user's manual input.
---
 Makefile                   | 2 +-
 integration-tests/tests.py | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 523d884..540f20a 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ check:
 
 .PHONY: tests
 tests:
-       @cd integration-tests; py.test tests.py
+       @cd integration-tests; py.test -k "not test_env" tests.py
 
 .PHONY: parse
 parse:
diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index 3b0b566..0ed70f6 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -149,6 +149,15 @@ def teardown_function():
   flushTablesNexus(NEXUS_DB)
   flushTablesSandbox(SANDBOX_DB)
 
+
+def test_env():
+    print("Nexus and Sandbox are up and running!")
+    try:
+        input("press enter to stop LibEuFin test environment ...")
+    except:
+        pass
+    print("exiting!")
+
 # Tests whether Nexus knows the imported bank account.
 def test_imported_account():
     resp = assertResponse(

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