Fix unnecessary-list-index-lookup warning
Noticed this test file had this warning, fixed it. No functional change. TrivialFix Change-Id: I2c32838d32d7e5c2ef3d573f2b55eb668ea09c67
This commit is contained in:
parent
a89b5e5772
commit
d55b15bedc
@ -240,7 +240,7 @@ class BaseOVSTestCase(base.BaseSudoTestCase):
|
||||
ports.append(neutron_port_id)
|
||||
|
||||
for idx, port in enumerate(ports):
|
||||
external_ids = {'port': str(ports[idx]),
|
||||
external_ids = {'port': str(port),
|
||||
'type': qos_constants.RULE_TYPE_MINIMUM_BANDWIDTH,
|
||||
'queue-num': 'queue_num'}
|
||||
expected = {'_uuid': queue_ids[idx],
|
||||
|
Loading…
x
Reference in New Issue
Block a user