Merge "Remove unused properties"
This commit is contained in:
commit
d9f093b304
@ -157,9 +157,7 @@ RESOURCE_ATTRIBUTE_MAP = {
|
|||||||
'is_visible': True},
|
'is_visible': True},
|
||||||
'tenant_id': {'allow_post': True, 'allow_put': False,
|
'tenant_id': {'allow_post': True, 'allow_put': False,
|
||||||
'required_by_policy': True,
|
'required_by_policy': True,
|
||||||
'is_visible': True},
|
'is_visible': True}
|
||||||
'mac_ranges': {'allow_post': False, 'allow_put': False,
|
|
||||||
'is_visible': True},
|
|
||||||
},
|
},
|
||||||
'ports': {
|
'ports': {
|
||||||
'id': {'allow_post': False, 'allow_put': False,
|
'id': {'allow_post': False, 'allow_put': False,
|
||||||
|
@ -742,7 +742,7 @@ class V2Views(unittest.TestCase):
|
|||||||
|
|
||||||
def test_network(self):
|
def test_network(self):
|
||||||
keys = ('id', 'name', 'subnets', 'admin_state_up', 'status',
|
keys = ('id', 'name', 'subnets', 'admin_state_up', 'status',
|
||||||
'tenant_id', 'mac_ranges')
|
'tenant_id')
|
||||||
self._view(keys, 'networks', 'network')
|
self._view(keys, 'networks', 'network')
|
||||||
|
|
||||||
def test_port(self):
|
def test_port(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user