diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-08-15 15:41:07 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-08-15 15:41:07 -0400 |
| commit | 8e7163cd413eebd2e08b5ad32d155f643e972740 (patch) | |
| tree | 3151788a5ccb331e8a882dca872c3ffcf13d9617 /nova/tests | |
| parent | 32ab7846b7781c557429600f419b9f7c8768cdce (diff) | |
put tenant_id back in places where it was
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/openstack/contrib/test_security_groups.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nova/tests/api/openstack/contrib/test_security_groups.py b/nova/tests/api/openstack/contrib/test_security_groups.py index aedc487c0..8d615eaea 100644 --- a/nova/tests/api/openstack/contrib/test_security_groups.py +++ b/nova/tests/api/openstack/contrib/test_security_groups.py @@ -247,7 +247,7 @@ class TestSecurityGroups(test.TestCase): expected = {'security_groups': [ {'id': 1, 'name':"default", - 'project_id': "123", + 'tenant_id': "123", "description":"default", "rules": [] }, @@ -257,7 +257,7 @@ class TestSecurityGroups(test.TestCase): { 'id': 2, 'name': "test", - 'project_id': "123", + 'tenant_id': "123", "description": "group-description", "rules": [] } @@ -283,12 +283,11 @@ class TestSecurityGroups(test.TestCase): 'security_group': { 'id': 2, 'name': "test", - 'project_id': "123", + 'tenant_id': "123", 'description': "group-description", 'rules': [] } } - self.assertEquals(response.status_int, 200) self.assertEquals(res_dict, expected) def test_get_security_group_by_invalid_id(self): |
