def METHOD_NAME(monkeypatch: pytest.MonkeyPatch):
    args = argparse.Namespace(
        mock_foo_bar=123,
        mock_baz=654,
        # mock_qux wouldn't be set by the parser if the argument is suppressed
        # its value will be ignored
        mock_qux=987,
        mock_user="username",
        mock_pass=None,
        mock_captcha=None,
    )
    monkeypatch.setattr("streamlink_cli.main.args", args)