diff options
| author | Jesse Andrews <anotherjesse@gmail.com> | 2011-08-09 14:23:30 -0700 |
|---|---|---|
| committer | Jesse Andrews <anotherjesse@gmail.com> | 2011-08-09 14:23:30 -0700 |
| commit | 568188c158db3caddfcd9ecb384189f93b076dd9 (patch) | |
| tree | aab8b5ee273d9c89fe22848d1e8341f264d8075e | |
| parent | 057b6ad650013a952f88f6e02f3e3db0164084d1 (diff) | |
add Keypairs to test_extensions
| -rw-r--r-- | nova/tests/api/openstack/test_extensions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/api/openstack/test_extensions.py b/nova/tests/api/openstack/test_extensions.py index 409fa0e71..eb9afbdb1 100644 --- a/nova/tests/api/openstack/test_extensions.py +++ b/nova/tests/api/openstack/test_extensions.py @@ -96,7 +96,7 @@ class ExtensionControllerTest(test.TestCase): names = [x['name'] for x in data['extensions']] names.sort() self.assertEqual(names, ["FlavorExtraSpecs", "Floating_ips", - "Fox In Socks", "Hosts", "Multinic", "Volumes"]) + "Fox In Socks", "Hosts", "Keypairs", "Multinic", "Volumes"]) # Make sure that at least Fox in Sox is correct. (fox_ext,) = [ @@ -143,7 +143,7 @@ class ExtensionControllerTest(test.TestCase): # Make sure we have all the extensions. exts = root.findall('{0}extension'.format(NS)) - self.assertEqual(len(exts), 6) + self.assertEqual(len(exts), 7) # Make sure that at least Fox in Sox is correct. (fox_ext,) = [x for x in exts if x.get('alias') == 'FOXNSOX'] |
