diff --git a/quantum/plugins/cisco/tests/unit/test_ucs_driver.py b/quantum/plugins/cisco/tests/unit/test_ucs_driver.py index cf6e75ef8e..c3f74c955c 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 33e4ed9c75..6f81fea09c 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('')