[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
- [GNUnet-SVN] [taler-bank] branch master updated (82128e4 -> e9bb1a6), gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 05/10: add testcase wrapper for faulty testcases,
gnunet <=
- [GNUnet-SVN] [taler-bank] 02/10: only enabling faulty tests, faster testing., gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 06/10: running a test against a non existent config file., gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 08/10: No #-line within make rule, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 07/10: comment, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 09/10: using logger in test launchers, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 01/10: re-enabling faulty tests, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 03/10: fix logging, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 04/10: config parser catches exception for config file not found, gnunet, 2017/07/12
- [GNUnet-SVN] [taler-bank] 10/10: Unifying all tests in one file., gnunet, 2017/07/12