summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/network/test_linux_net.py2
-rw-r--r--nova/tests/test_iptables_network.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/network/test_linux_net.py b/nova/tests/network/test_linux_net.py
index fd6708343..72bf71674 100644
--- a/nova/tests/network/test_linux_net.py
+++ b/nova/tests/network/test_linux_net.py
@@ -222,7 +222,7 @@ class LinuxNetworkTestCase(test.TestCase):
is_admin=True)
def get_vifs(_context, instance_uuid):
- return [vif for vif in vifs if vif['instance_uuid'] == \
+ return [vif for vif in vifs if vif['instance_uuid'] ==
instance_uuid]
def get_instance(_context, instance_id):
diff --git a/nova/tests/test_iptables_network.py b/nova/tests/test_iptables_network.py
index 166e28a5c..c8f310303 100644
--- a/nova/tests/test_iptables_network.py
+++ b/nova/tests/test_iptables_network.py
@@ -97,7 +97,7 @@ class IptablesManagerTestCase(test.TestCase):
table.remove_rule('FORWARD', '-s 1.2.3.4/5 -j DROP')
new_lines = self.manager._modify_rules(current_lines, table)
self.assertTrue('[0:0] -A %s-FORWARD '
- '-s 1.2.3.4/5 -j DROP' % self.binary_name \
+ '-s 1.2.3.4/5 -j DROP' % self.binary_name
not in new_lines)
def test_nat_rules(self):