44
44
# to cmd_commit, when they are meant to be about option parsing in
47
([], {'author': [], 'exclude': [], 'fixes': [], 'help': True,
48
'override_config': []}),
47
([], {'author': [], 'exclude': [], 'fixes': [], 'help': True}),
49
48
parse_args(cmd_commit(), ['--help']))
51
([], {'author': [], 'exclude': [], 'fixes': [], 'message': 'biter',
52
'override_config': []}),
50
([], {'author': [], 'exclude': [], 'fixes': [], 'message': 'biter'}),
53
51
parse_args(cmd_commit(), ['--message=biter']))
55
53
def test_no_more_opts(self):
56
54
"""Terminated options"""
58
(['-file-with-dashes'], {'author': [], 'exclude': [], 'fixes': [],
59
'override_config': []}),
56
(['-file-with-dashes'], {'author': [], 'exclude': [], 'fixes': []}),
60
57
parse_args(cmd_commit(), ['--', '-file-with-dashes']))
62
59
def test_option_help(self):