comparison test/db_test_base.py @ 4421:67bef70ab9b9

- more logger fixes, sorry for the noise.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Fri, 17 Sep 2010 06:47:58 +0000
parents f6a2bfd351ee
children 2784c239e6c8
comparison
equal deleted inserted replaced
4420:9655a1b65974 4421:67bef70ab9b9
126 126
127 if os.environ.has_key('LOGGING_LEVEL'): 127 if os.environ.has_key('LOGGING_LEVEL'):
128 from roundup import rlog 128 from roundup import rlog
129 config.logging = rlog.BasicLogging() 129 config.logging = rlog.BasicLogging()
130 config.logging.setLevel(os.environ['LOGGING_LEVEL']) 130 config.logging.setLevel(os.environ['LOGGING_LEVEL'])
131 config.logging.getLogger('hyperdb').setFormat('%(message)s') 131 config.logging.getLogger('roundup.hyperdb').setFormat('%(message)s')
132 132
133 class DBTest(MyTestCase): 133 class DBTest(MyTestCase):
134 def setUp(self): 134 def setUp(self):
135 # remove previous test, ignore errors 135 # remove previous test, ignore errors
136 if os.path.exists(config.DATABASE): 136 if os.path.exists(config.DATABASE):

Roundup Issue Tracker: http://roundup-tracker.org/