]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make logging level in unit tests configurable.
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Mon, 20 May 2013 05:36:39 +0000 (14:36 +0900)
committerRyota MIBU <r-mibu@cq.jp.nec.com>
Tue, 21 May 2013 00:33:11 +0000 (09:33 +0900)
commita9560a9cc03c2d00ba5db4f28eb9405aa854b5a6
treea50336c21cdcc01f7ef7cbffc6418e88abbfcbfe
parentf0eecfb0bd57911551c77c22a29d1ba2ae9cfcc9
Make logging level in unit tests configurable.

Added a debug option to unittest(BaseTestCase) which sets logging level of
fixtures.FakeLogger to DEBUG. To enable this option, set OS_DEBUG=True or
OS_DEBUG=1 in environment variables.

Fixes: bug #1181925
Change-Id: Id09008ddabb837290edf12e1cbd014dc74760113
quantum/tests/base.py