Remove unused properties

Fixes bug 1032502.

Change-Id: I63d86788e004ac371e69c238caf38c64ee398955
This commit is contained in:
Nachi Ueno 2012-08-03 06:29:04 +00:00
parent 5df522c9d1
commit 438a990137
2 changed files with 2 additions and 4 deletions

View File

@ -157,9 +157,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'is_visible': True},
'tenant_id': {'allow_post': True, 'allow_put': False,
'required_by_policy': True,
'is_visible': True},
'mac_ranges': {'allow_post': False, 'allow_put': False,
'is_visible': True},
'is_visible': True}
},
'ports': {
'id': {'allow_post': False, 'allow_put': False,

View File

@ -741,7 +741,7 @@ class V2Views(unittest.TestCase):
def test_network(self):
keys = ('id', 'name', 'subnets', 'admin_state_up', 'status',
'tenant_id', 'mac_ranges')
'tenant_id')
self._view(keys, 'networks', 'network')
def test_port(self):