Merge "Fix unitest test_router_list with wrong fake return value"
This commit is contained in:
commit
6ee08b3a95
@ -132,8 +132,8 @@ class L3NatExtensionTestCase(unittest.TestCase):
|
||||
|
||||
def test_router_list(self):
|
||||
router_id = _uuid()
|
||||
return_value = [{'router': {'name': 'router1', 'admin_state_up': True,
|
||||
'tenant_id': _uuid(), 'id': router_id}}]
|
||||
return_value = [{'name': 'router1', 'admin_state_up': True,
|
||||
'tenant_id': _uuid(), 'id': router_id}]
|
||||
|
||||
instance = self.plugin.return_value
|
||||
instance.get_routers.return_value = return_value
|
||||
|
Loading…
x
Reference in New Issue
Block a user