[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: test harness fixes
From: |
gnunet |
Subject: |
[libeufin] branch master updated: test harness fixes |
Date: |
Tue, 26 Jan 2021 15:29:55 +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 645784b test harness fixes
645784b is described below
commit 645784b8f2c241b32446d638a1bfb20cb0dc948e
Author: MS <ms@taler.net>
AuthorDate: Tue Jan 26 15:29:52 2021 +0100
test harness fixes
---
integration-tests/tests.py | 13 +++++++------
integration-tests/util.py | 2 +-
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/integration-tests/tests.py b/integration-tests/tests.py
index 5876029..45c31e9 100755
--- a/integration-tests/tests.py
+++ b/integration-tests/tests.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
+import os
import pytest
import json
from deepdiff import DeepDiff as dd
@@ -115,10 +116,10 @@ def prepareNexus():
)
)
-dropSandboxTables(DB)
-startSandbox(DB)
-dropNexusTables(DB)
-startNexus(DB)
+dropSandboxTables()
+startSandbox()
+dropNexusTables()
+startNexus()
def setup_function():
try:
@@ -129,8 +130,8 @@ def setup_function():
pytest.xfail("Failed to setup this test")
def teardown_function():
- dropSandboxTables(DB)
- dropNexusTables(DB)
+ dropSandboxTables()
+ dropNexusTables()
def test_change_password():
assertResponse(
diff --git a/integration-tests/util.py b/integration-tests/util.py
index be6326a..8230a3f 100644
--- a/integration-tests/util.py
+++ b/integration-tests/util.py
@@ -173,7 +173,7 @@ def startNexus():
"..",
"nexus:run",
"--console=plain",
- "--args=serve"]),
+ "--args=serve"],
stdin=DEVNULL,
stdout=open("nexus-stdout.log", "w"),
stderr=open("nexus-stderr.log", "w")
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libeufin] branch master updated: test harness fixes,
gnunet <=