Skip to content

Commit fc2988d

Browse files
Milan FencikMilan Fencik
authored andcommitted
adjust tests for new current vlan segment methods
1 parent c8459e5 commit fc2988d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/neutron-understack/neutron_understack/tests/test_trunk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def test_when_parent_port_is_bound(
108108
"neutron_understack.utils.allocate_dynamic_segment",
109109
return_value=vlan_network_segment,
110110
)
111+
mocker.patch(
112+
"neutron_understack.utils.network_segment_by_physnet", return_value=None
113+
)
111114
mocker.patch("neutron_understack.utils.create_binding_profile_level")
112115
mocker.patch.object(understack_trunk_driver.nb, "add_port_vlan_associations")
113116
understack_trunk_driver._handle_tenant_vlan_id_and_switchport_config(

0 commit comments

Comments
 (0)