def test_get_ovs_port_non_existent(self):
    self.mock_bridge.br.get_vif_port_by_id.return_value = None
    with testtools.ExpectedException(exceptions.OVSFWPortNotFound):
        self.firewall.get_ovs_port('port_id')
def test_get_ovs_port_non_existent(self):
    self.mock_bridge.br.get_vif_port_by_id.return_value = None
    with testtools.ExpectedException(exceptions.OVSFWPortNotFound):
        self.firewall.get_ovs_port('port_id')