summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@redhat.com>2013-12-20 09:50:46 +1100
committerAngus Salkeld <asalkeld@redhat.com>2013-12-20 09:50:46 +1100
commit9def85b1c735567e7b0543cb5b590fdec91e9c1a (patch)
treeeecc98b99c047f8961ca3c0222f7ec3300527806
parent00b659699e40e67c708ec14e83f491ba628fb4e0 (diff)
downloadoslotest-9def85b1c735567e7b0543cb5b590fdec91e9c1a.tar.gz
log all test messages not just oslo ones
This is a bit frustrating at the moment as you don't project specific error messages when a test fails (it only shows the oslo logging messages). By removing the 'openstack.common', we get all logs. Change-Id: I1a018038be0ac82ead27814a357b50d0514087fb
-rw-r--r--openstack/common/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/test.py b/openstack/common/test.py
index c084d8b..43a656e 100644
--- a/openstack/common/test.py
+++ b/openstack/common/test.py
@@ -29,7 +29,7 @@ class BaseTestCase(testtools.TestCase):
super(BaseTestCase, self).setUp()
self._set_timeout()
self._fake_output()
- self.useFixture(fixtures.FakeLogger('openstack.common'))
+ self.useFixture(fixtures.FakeLogger())
self.useFixture(fixtures.NestedTempfile())
self.useFixture(fixtures.TempHomeDir())