diff options
| author | Soren Hansen <soren.hansen@rackspace.com> | 2010-12-06 22:20:05 +0100 |
|---|---|---|
| committer | Soren Hansen <soren.hansen@rackspace.com> | 2010-12-06 22:20:05 +0100 |
| commit | e1e4e639bf24dab49676f619fbb358c91cca3023 (patch) | |
| tree | d47be174eeae93ab13bba1ba7202fa15c00d3376 | |
| parent | cf21683d741165d2cf0798b7dc9968daa311fafc (diff) | |
Remove dead test code.
| -rw-r--r-- | nova/tests/virt_unittest.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/nova/tests/virt_unittest.py b/nova/tests/virt_unittest.py index 6c0f379da..d725c2ce2 100644 --- a/nova/tests/virt_unittest.py +++ b/nova/tests/virt_unittest.py @@ -200,7 +200,7 @@ class IptablesFirewallTestCase(test.TrialTestCase): self.fw.add_instance(instance_ref) out_rules = self.fw.modify_rules(self.in_rules) - + in_rules = filter(lambda l: not l.startswith('#'), self.in_rules) for rule in in_rules: if not 'nova' in rule: @@ -208,21 +208,6 @@ class IptablesFirewallTestCase(test.TrialTestCase): print '\n'.join(out_rules) - def est_stuff(self): - self.fw.execute = self._p - cloud_controller = cloud.CloudController() - cloud_controller.create_security_group(self.context, - 'testgroup', - 'test group description') - cloud_controller.authorize_security_group_ingress(self.context, - 'testgroup', - from_port='80', - to_port='81', - ip_protocol='tcp', - cidr_ip='0.0.0.0/0') - - self.fw._apply_ruleset() - class NWFilterTestCase(test.TrialTestCase): |
