Skip to content

Commit c190408

Browse files
committed
[stable/2023.1 only] Fix missing test fix for ext gw
A fix for an invalid cherry pick [0] missed updating all the unit tests that had an invalid key. Fix it. [0] https://review.opendev.org/c/openstack/neutron/+/913408/ Related-bug: #2057942 Change-Id: I167067c185b63e7e1b4b3c0821e73315c60ea018
1 parent 9bb3752 commit c190408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_maintenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ def test_add_gw_port_info_to_logical_router_port_no_action_needed(self):
979979
internal_net_id = uuidutils.generate_uuid()
980980
routers_db = [{
981981
'id': uuidutils.generate_uuid(),
982-
'external_gateways': [{'network_id': ext_net_id}]}]
982+
'external_gateway_info': {'network_id': ext_net_id}}]
983983
ext_gw_lrp = fakes.FakeOvsdbRow.create_one_ovsdb_row(
984984
attrs={'external_ids': {
985985
constants.OVN_NETWORK_NAME_EXT_ID_KEY:

0 commit comments

Comments
 (0)