From: Edgar Magana Date: Tue, 26 Jun 2012 04:49:16 +0000 (-0700) Subject: Fixing pep8 warning messages X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7841b681f123e3b636d7ee6b5301de6358871c04;p=openstack-build%2Fneutron-build.git Fixing pep8 warning messages Bug #1017805 Change-Id: I3417215a7a068141b69608e0dc5abaf220ac105d --- diff --git a/quantum/plugins/cisco/tests/unit/test_ucs_driver.py b/quantum/plugins/cisco/tests/unit/test_ucs_driver.py index cf6e75ef8..c3f74c955 100644 --- a/quantum/plugins/cisco/tests/unit/test_ucs_driver.py +++ b/quantum/plugins/cisco/tests/unit/test_ucs_driver.py @@ -74,15 +74,15 @@ DELETE_PROFILE_OUTPUT = (' ' ' ') -ASSOCIATE_PROFILE_OUTPUT = (' ' - ' ') +ASSOC_PROFILE_OUTPUT = (' ' + ' ') class TestUCSDriver(unittest.TestCase): @@ -160,8 +160,7 @@ class TestUCSDriver(unittest.TestCase): LOG.debug("test_create_profile_post - END") def test_create_profile_client_data(self, - expected_output= - ASSOCIATE_PROFILE_OUTPUT): + expected_output=ASSOC_PROFILE_OUTPUT): """ Tests creation of profile client post Data """ diff --git a/quantum/tests/unit/test_iptables_manager.py b/quantum/tests/unit/test_iptables_manager.py index 33e4ed9c7..6f81fea09 100755 --- a/quantum/tests/unit/test_iptables_manager.py +++ b/quantum/tests/unit/test_iptables_manager.py @@ -129,8 +129,8 @@ class IptablesManagerStateFulTestCase(unittest.TestCase): 'OUTPUT -j %s-OUTPUT\n-A FORWARD -j %s-FORWARD' '\n-A %s-filter -j DROP\n-A %s-INPUT -s 0/0 -d' ' 192.168.0.2 -j %s-filter\n' % (bn, bn, bn, bn, - bn, bn, bn, bn, bn, bn, bn, bn)), root_helper= - self.root_helper).AndReturn(None) + bn, bn, bn, bn, bn, bn, bn, bn)), + root_helper=self.root_helper).AndReturn(None) self.iptables.execute(['/sbin/iptables-save', '-t', 'nat'], root_helper=self.root_helper).AndReturn('')