human
Solve the following python programming problem given the following code:
@pytest.fixture()
def search_fn():
assistant
#Here is the Python program you requested.

    """Returns a search function that always succeeds.
    """
    class _Mock(object, ):
        performed_search = False
        def __call__(self):
            self.performed_search = True
            return []
    return _Mock()