human
Here's a good function header given the following:
I wrote the below code

    def raise_invalid_folder_exc(*args, **kwargs):
        raise imapclient.IMAPClient.Error("select    failed:    '[TRYCREATE]    EXAMINE    error    -    Folder    does    not    exist    or    server    encountered    an    error")
    monkeypatch.setattr('imapclient.IMAPClient.select_folder', raise_invalid_folder_exc)
    with pytest.raises(FolderMissingError):
        generic_client.select_folder('missing_folder', (lambda : True))

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

def test_deleted_folder_on_select(monkeypatch, generic_client, constants):