[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 07/09: default log level = warning
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 07/09: default log level = warning |
Date: |
Tue, 05 Dec 2017 13:21:49 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
commit 91da3bb73a36ddadb9562a85b81d9f4946741978
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Dec 5 12:52:07 2017 +0100
default log level = warning
---
talerbank/__init__.py | 2 +-
talerbank/app/tests_alt.py | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/talerbank/__init__.py b/talerbank/__init__.py
index 914d55d..ca35fb3 100644
--- a/talerbank/__init__.py
+++ b/talerbank/__init__.py
@@ -2,7 +2,7 @@ import logging
LOG_CONF = {
'format': '%(asctime)-15s %(module)s %(levelname)s %(message)s',
- 'level': logging.INFO
+ 'level': logging.WARNING
}
logging.basicConfig(**LOG_CONF)
diff --git a/talerbank/app/tests_alt.py b/talerbank/app/tests_alt.py
index 33627ec..423ebb4 100644
--- a/talerbank/app/tests_alt.py
+++ b/talerbank/app/tests_alt.py
@@ -13,10 +13,15 @@
# TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
#
# @author Marcello Stanisci
+
+import logging
from django.test import TestCase
from django.conf import settings
from .amount import Amount, BadFormatAmount
+LOGGER = logging.getLogger()
+LOGGER.setLevel(logging.WARNING)
+
class BadMaxDebtOptionTestCase(TestCase):
def test_badmaxdebtoption(self):
with self.assertRaises(BadFormatAmount):
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-bank] branch master updated (c8f9b7a -> 3d1d4bb), gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 04/09: remove fixme, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 02/09: provide __str__ to custom exceptions, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 09/09: remove initial checks. They pollute tests, and the way the bank is launched makes sure they always pass. Moreover, they check for obvious conditions like: is a 'Bank' user present? Is a database accessible?, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 03/09: linting, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 07/09: default log level = warning,
gnunet <=
- [GNUnet-SVN] [taler-bank] 05/09: done linting talerconfig, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 08/09: linting models. WARNING/NOTE: tests passed but this change altered - although did NOT break - the recommended way to use the model API., gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 01/09: port to django2, gnunet, 2017/12/05
- [GNUnet-SVN] [taler-bank] 06/09: linting done with views, gnunet, 2017/12/05