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_importutils.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_importutils.py')
| -rw-r--r-- | tests/unit/test_importutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_importutils.py b/tests/unit/test_importutils.py index c41f13b..4c9ff73 100644 --- a/tests/unit/test_importutils.py +++ b/tests/unit/test_importutils.py @@ -65,7 +65,7 @@ class ImportUtilsTest(unittest.TestCase): def test_import_object_ns_optional_arg_present(self): obj = importutils.import_object_ns('tests.unit', 'fake.FakeDriver', - first_arg=False) + first_arg=False) self.assertTrue(obj.__class__.__name__, 'FakeDriver') def test_import_object_ns_required_arg_not_present(self): @@ -75,7 +75,7 @@ class ImportUtilsTest(unittest.TestCase): def test_import_object_ns_required_arg_present(self): obj = importutils.import_object_ns('tests.unit', 'fake.FakeDriver2', - first_arg=False) + first_arg=False) self.assertTrue(obj.__class__.__name__, 'FakeDriver2') # namespace tests |
