Update testr config for better logging
With this change, recorded log messages during test runs will be displayed more consistently, and will include the log level. Change-Id: Iceba7e8f82ec339ff122a7e0c220e33cca2274d6
This commit is contained in:
parent
c75acd8669
commit
4fcf8cf080
@ -1,6 +1,8 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
|
||||
OS_DEBUG=${OS_DEBUG:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ./designate/tests $LISTOPT $IDOPTION
|
||||
|
||||
|
@ -238,7 +238,6 @@ class TestCase(base.BaseTestCase):
|
||||
def setUp(self):
|
||||
super(TestCase, self).setUp()
|
||||
|
||||
self.useFixture(fixtures.FakeLogger('designate', level='DEBUG'))
|
||||
self.CONF = self.useFixture(cfg_fixture.Config(cfg.CONF)).conf
|
||||
|
||||
self.messaging_conf = self.useFixture(
|
||||
|
Loading…
x
Reference in New Issue
Block a user