human
I wrote the below code

    class _Mock(object, ):
        performed_search = False
        def __call__(self):
            self.performed_search = True
            return []
    return _Mock()

What's a good function header?
assistant
#Here's a good function header.

@pytest.fixture()
def search_fn():