def METHOD_NAME(self, parse_vars_from_line):
    assert parse_vars_from_line("--error") == {
        "append": [],
        "lock_wait": 1,
        "log_level": "error",
        "progress": False,
    }
    assert parse_vars_from_line("--error", "subcommand", "--critical") == {
        "append": [],
        "lock_wait": 1,
        "log_level": "critical",
        "progress": False,
        "append_only": False,
        "func": 1234,
    }
    with pytest.raises(SystemExit):
        parse_vars_from_line("--append-only", "subcommand")
    assert parse_vars_from_line("--append=foo", "--append", "bar", "subcommand", "--append", "baz") == {
        "append": ["foo", "bar", "baz"],
        "lock_wait": 1,
        "log_level": "warning",
        "progress": False,
        "append_only": False,
        "func": 1234,
    }