From 7841b681f123e3b636d7ee6b5301de6358871c04 Mon Sep 17 00:00:00 2001 From: Edgar Magana Date: Mon, 25 Jun 2012 21:49:16 -0700 Subject: [PATCH] Fixing pep8 warning messages Bug #1017805 Change-Id: I3417215a7a068141b69608e0dc5abaf220ac105d --- .../cisco/tests/unit/test_ucs_driver.py | 21 +++++++++---------- quantum/tests/unit/test_iptables_manager.py | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) 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('') -- 2.45.2