summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_log.py
diff options
context:
space:
mode:
authorMate Lakat <mate.lakat@citrix.com>2012-08-06 11:32:22 +0100
committerMate Lakat <mate.lakat@citrix.com>2012-08-06 11:33:31 +0100
commitbabd6ca3324b3a684dc1e0beedadfc89981039c7 (patch)
tree8dd63fd1c33a7b622e214b2c8afaa521c01d20db /tests/unit/test_log.py
parentbcb424dd730a977aeaae9f6e33e9bb35cbc0c062 (diff)
downloadoslo-babd6ca3324b3a684dc1e0beedadfc89981039c7.tar.gz
oslo-babd6ca3324b3a684dc1e0beedadfc89981039c7.tar.xz
oslo-babd6ca3324b3a684dc1e0beedadfc89981039c7.zip
Fix meaningless test case
Related to fixing bug 1031351 The testcase was meaningless. Change-Id: I7b88b86a600fac0c30bcac354262ac00593b495c
Diffstat (limited to 'tests/unit/test_log.py')
-rw-r--r--tests/unit/test_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_log.py b/tests/unit/test_log.py
index 35ff72d..25f8070 100644
--- a/tests/unit/test_log.py
+++ b/tests/unit/test_log.py
@@ -242,7 +242,7 @@ class ExceptionLoggingTestCase(test_utils.BaseTestCase):
(out, err) = child.communicate(input=code)
self.assertTrue(
- "CRITICAL somename [-] Some error happened",
+ "CRITICAL somename [-] Some error happened" in err,
msg="Exception is not logged")