def test__remove_egress_no_port_security_deletes_flow(self):
    self.mock_bridge.br.db_get_val.return_value = {'tag': TESTING_VLAN_TAG}
    self.firewall.sg_port_map.unfiltered['port_id'] = 1
    self.firewall._remove_egress_no_port_security('port_id')
    expected_call = mock.call(table=ovs_consts.TRANSIENT_TABLE, in_port=self.fake_ovs_port.ofport)
    calls = self.mock_bridge.br.delete_flows.call_args_list
    self.assertIn(expected_call, calls)
def test__remove_egress_no_port_security_deletes_flow(self):
    self.mock_bridge.br.db_get_val.return_value = {'tag': TESTING_VLAN_TAG}
    self.firewall.sg_port_map.unfiltered['port_id'] = 1
    self.firewall._remove_egress_no_port_security('port_id')
    expected_call = mock.call(table=ovs_consts.TRANSIENT_TABLE, in_port=self.fake_ovs_port.ofport)
    calls = self.mock_bridge.br.delete_flows.call_args_list
    self.assertIn(expected_call, calls)