

def test_delete_unicast_to_tun_without_mac(self):
    vlan = 3333
    mac = None
    self.br.delete_unicast_to_tun(vlan=vlan, mac=mac)
    (dp, ofp, ofpp) = self._get_dp()
    expected = [call.delete_flows(table_id=20, match=ofpp.OFPMatch(vlan_vid=(vlan | ofp.OFPVID_PRESENT)))]
    self.assertEqual(expected, self.mock.mock_calls)

dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_tun.py OVSTunnelBridgeTest.test_delete_unicast_to_tun_without_mac/original