/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_options.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 10:50:21 UTC
  • mfrom: (7164 work)
  • mto: This revision was merged to the branch mainline in revision 7165.
  • Revision ID: jelmer@jelmer.uk-20181116105021-xl419v2rh4aus1au
Merge trunk.

Show diffs side-by-side

added added

removed removed

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