diff options
| author | Todd Willey <todd@ansolabs.com> | 2011-06-23 14:16:11 -0400 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2011-06-23 14:16:11 -0400 |
| commit | 6e2ebfa1dc29e50f74f1b337d1b5349bc3c78cdc (patch) | |
| tree | 84f09f5d58c40ceda375bd25ef1e50c92037503f | |
| parent | ac4baa5990c45a6a521a1786e680426ba617c65a (diff) | |
Make sure there are actually rules to test against.
| -rw-r--r-- | nova/tests/test_adminapi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/tests/test_adminapi.py b/nova/tests/test_adminapi.py index 2b90d49e9..4a96a3dd9 100644 --- a/nova/tests/test_adminapi.py +++ b/nova/tests/test_adminapi.py @@ -90,6 +90,7 @@ class AdminApiTestCase(test.TestCase): def test_list_blocked_ips(self): """Make sure we can see the external blocks that exist.""" + self.api.block_external_addresses(self.context, '1.1.1.2/32') result = self.api.describe_external_address_blocks(self.context) num = len(db.provider_fw_rule_get_all(self.context)) # we only list IP, not tcp/udp/icmp rules |
