]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use debug level logging during unit tests
authorJoe Gordon <joe.gordon0@gmail.com>
Mon, 10 Mar 2014 18:02:13 +0000 (11:02 -0700)
committerJoe Gordon <joe.gordon0@gmail.com>
Wed, 12 Mar 2014 22:12:05 +0000 (15:12 -0700)
commit365a9908b89688fa609ba86c84941848628346d9
tree64a94bce2d5c3c8e1f1ef1d67b06d473e1ab2a98
parent174be8249b81d08cb28dd515081d259d57d1a497
Use debug level logging during unit tests

When unit tests fail we need to debug, so we should have debug level logging on.
We use fixtures FakeLogger during testing, to enable debug logging pass
in log level as a parameter.

http://bazaar.launchpad.net/~python-fixtures/python-fixtures/trunk/vi
ew/head:/lib/fixtures/_fixtures/logger.py#L68

Taken from nova (Change-Id: I70790aa39c0774726de71e5fa5751c45e7e34ffd)

Change-Id: I24bcce3a9a50322f20f06670d1fe95d929aa2e72
cinder/test.py
cinder/tests/conf_fixture.py