commit da5bdc694047484fc4c60fa9afe27b43409e51f5 parent 43e53c7bd14c16427ffddf1c08abbbc844e96114 Author: MS <ms@taler.net> Date: Mon, 7 Dec 2020 15:18:02 +0100 tests introducing a function to launch nexus and sandbox and wait for user's manual input. Diffstat:
| M | Makefile | | | 2 | +- |
| M | integration-tests/tests.py | | | 9 | +++++++++ |
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git 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 @@ -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(