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