summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-05-20 09:09:03 -0700
committerAnthony Young <sleepsonthefloor@gmail.com>2011-05-20 09:09:03 -0700
commit5c205bb5ef1565db4e52af538cf0d6b73cbeda37 (patch)
tree4770c84d4166ee63ede8b82785cf3a45782402b5
parent0bb2d0085e1fb3ba22a408f405f4539aa07b226c (diff)
downloadnova-5c205bb5ef1565db4e52af538cf0d6b73cbeda37.tar.gz
nova-5c205bb5ef1565db4e52af538cf0d6b73cbeda37.tar.xz
nova-5c205bb5ef1565db4e52af538cf0d6b73cbeda37.zip
fix comments
-rw-r--r--nova/tests/test_virt.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/tests/test_virt.py b/nova/tests/test_virt.py
index 5e85e3a2f..90c6de5a9 100644
--- a/nova/tests/test_virt.py
+++ b/nova/tests/test_virt.py
@@ -659,6 +659,7 @@ class LibvirtConnTestCase(test.TestCase):
class FakeNWFilter:
def __init__(self):
+
self.filters = {}
def _nwfilterLookupByName(self, name):
@@ -947,7 +948,7 @@ class IptablesFirewallTestCase(test.TestCase):
original_filter_count = len(fakefilter.filters)
self.fw.unfilter_instance(instance)
- # should attempt to undefine just the instance filter
+ # should undefine just the instance filter
self.assertEqual(original_filter_count - len(fakefilter.filters), 1)
db.instance_destroy(admin_ctxt, instance_ref['id'])
@@ -1160,7 +1161,7 @@ class NWFilterTestCase(test.TestCase):
self.fw.unfilter_instance(instance)
print fakefilter.filters.keys()
- # should attempt to undefine 2 filters: instance and instance-secgroup
+ # should undefine 2 filters: instance and instance-secgroup
self.assertEqual(original_filter_count - len(fakefilter.filters), 2)
db.instance_destroy(admin_ctxt, instance_ref['id'])