diff options
| author | Yaguang Tang <heut2008@gmail.com> | 2012-06-30 02:13:05 +0800 |
|---|---|---|
| committer | Yaguang Tang <heut2008@gmail.com> | 2012-07-18 11:40:09 +0800 |
| commit | d5f2152dcfc4039de8324bdf75f6a2cd844dbdd0 (patch) | |
| tree | 3614b8d9bfe55bdebddc700c06ffb8fc45e76e92 /tests/unit/test_plugin.py | |
| parent | ace759e55d7c87dc66a500d598d1355dd3c0408f (diff) | |
| download | oslo-d5f2152dcfc4039de8324bdf75f6a2cd844dbdd0.tar.gz oslo-d5f2152dcfc4039de8324bdf75f6a2cd844dbdd0.tar.xz oslo-d5f2152dcfc4039de8324bdf75f6a2cd844dbdd0.zip | |
fix bug lp:1019348,update openstack-common to support pep8 1.3.
also,this patch turns off pep8 E125 check.
Change-Id: I22d2a94d89530586d614af39af17ae542c5e0cbf
Diffstat (limited to 'tests/unit/test_plugin.py')
| -rw-r--r-- | tests/unit/test_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_plugin.py b/tests/unit/test_plugin.py index 01665ba..31f2e7a 100644 --- a/tests/unit/test_plugin.py +++ b/tests/unit/test_plugin.py @@ -57,7 +57,7 @@ class NotifyTestCase(test_utils.BaseTestCase): # Set up a 'normal' notifier to make sure the plugin logic # doesn't mess anything up. self.stubs.Set(cfg.CONF, 'notification_driver', - SimplerNotifier()) + SimplerNotifier()) global simpler_notify_called simpler_notify_called = False @@ -82,7 +82,7 @@ class NotifyTestCase(test_utils.BaseTestCase): return [MockEntrypoint("fake", "fake", ["fake"])] self.stubs.Set(pkg_resources, 'iter_entry_points', - mock_iter_entry_points) + mock_iter_entry_points) plugmgr = pluginmanager.PluginManager("testproject", "testservice") plugmgr.load_plugins() @@ -141,7 +141,7 @@ class APITestCase(test_utils.BaseTestCase): return [MockEntrypoint("fake", "fake", ["fake"])] self.stubs.Set(pkg_resources, 'iter_entry_points', - mock_iter_entry_points) + mock_iter_entry_points) stubLoaded = False |
