diff --git a/neutron/tests/functional/agent/test_ovs_flows.py b/neutron/tests/functional/agent/test_ovs_flows.py index e3fb3a9c575..48e323064f8 100644 --- a/neutron/tests/functional/agent/test_ovs_flows.py +++ b/neutron/tests/functional/agent/test_ovs_flows.py @@ -362,8 +362,8 @@ class OVSFlowTestCase(OVSAgentTestBase): "nw_proto=1,nw_tos=0,nw_ttl=128," "icmp_type=8,icmp_code=0,dl_vlan=%(lvid)d" % kwargs) - self.assertTrue(("dl_vlan=%(segmentation_id)d" % kwargs) in - trace["Final flow"]) + self.assertIn("dl_vlan=%(segmentation_id)d" % kwargs, + trace["Final flow"]) def test_install_dvr_to_src_mac(self): other_dvr_mac = 'fa:16:3f:01:de:ad'