summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/callbackplugin.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-01-02 13:16:33 +0000
committerMark McLoughlin <markmc@redhat.com>2013-01-03 07:34:00 +0000
commitfb56e513a78eca6017fbf1d7543126d1153aea86 (patch)
tree8414e622e277e401a6e2d60d7ff66c4ea7fc92ff /openstack/common/plugin/callbackplugin.py
parentffeb0855085617095f19296770a1223cb5641d1c (diff)
downloadoslo-fb56e513a78eca6017fbf1d7543126d1153aea86.tar.gz
oslo-fb56e513a78eca6017fbf1d7543126d1153aea86.tar.xz
oslo-fb56e513a78eca6017fbf1d7543126d1153aea86.zip
Fix publish_errors unit test
The unit test for publish_errors=True causes logging to be spewed from other tests because it configures the default root logger rather than creating its own logger like other logging tests do. This makes the unit tests completely silent again. Also, it hooked into the rpc notifier to catch notifications when it can simple hook into the no-op notifier like other tests. Finally, it used stubout to override the value of config options rather than the BaseTestCase.config() helper method. Change-Id: I13313fcd9ad8f9e5bcb9af90652b5dde5c3feec9
Diffstat (limited to 'openstack/common/plugin/callbackplugin.py')
0 files changed, 0 insertions, 0 deletions