gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] 05/10: add testcase wrapper for faulty testcas


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] 05/10: add testcase wrapper for faulty testcases
Date: Wed, 12 Jul 2017 12:55:41 +0200

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

marcello pushed a commit to branch master
in repository bank.

commit 6c17ea30e985a2c6a5808a8cf1cf5989287e9ed9
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon May 29 16:09:53 2017 +0200

    add testcase wrapper for faulty testcases
---
 run_tests_err.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/run_tests_err.py b/run_tests_err.py
new file mode 100755
index 0000000..c01d03f
--- /dev/null
+++ b/run_tests_err.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python3
+
+from django.core.management import call_command
+from django.db.utils import OperationalError
+import django
+import sys
+
+django.setup()
+try:
+    call_command("test", "talerbank.app.tests_err")
+except OperationalError:
+    print("Catching DB hard error, skipping the test")
+    sys.exit(0)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]