Commit f09d3688 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Switch remaining DEBUG levels to WARNING in some test modules.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@443 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ce412ce1
......@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import unittest
import logging
from mock import Mock, ReturnValues, ReturnIterator
from ZODB.POSException import StorageTransactionError, UndoError, ConflictError
from neo.protocol import INVALID_UUID
......@@ -76,6 +77,9 @@ class TestSocketConnector(object):
class ClientApplicationTest(unittest.TestCase):
def setUp(self):
logging.basicConfig(level = logging.WARNING)
# some helpers
def getApp(self, master_nodes='127.0.0.1:10010', name='test',
......
......@@ -53,7 +53,7 @@ from neo.connection import ClientConnection
class MasterRecoveryTests(unittest.TestCase):
def setUp(self):
logging.basicConfig(level = logging.DEBUG)
logging.basicConfig(level = logging.WARNING)
# create an application object
config_file_text = """# Default parameters.
[DEFAULT]
......
......@@ -54,7 +54,7 @@ from neo.connection import ClientConnection
class MasterVerificationeTests(unittest.TestCase):
def setUp(self):
logging.basicConfig(level = logging.DEBUG)
logging.basicConfig(level = logging.WARNING)
# create an application object
config_file_text = """# Default parameters.
[DEFAULT]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment