Skip to content

Commit 0e48fca

Browse files
Milan FencikMilan Fencik
authored andcommitted
adjust test for network segment dynamic before deleting
1 parent e84e01c commit 0e48fca

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
@@ -267,6 +267,9 @@ def test_when_segment_is_unused_by_other_ports(
267267
mocker.patch(
268268
"neutron_understack.utils.ports_bound_to_segment", return_value=False
269269
)
270+
mocker.patch(
271+
"neutron_understack.utils.is_dynamic_network_segment", return_value=True
272+
)
270273
mocker.patch.object(understack_trunk_driver.nb, "delete_vlan")
271274
mocker.patch("neutron_understack.utils.release_dynamic_segment")
272275

0 commit comments

Comments
 (0)