~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Brian de Alwis
  • Date: 2010-02-04 19:15:57 UTC
  • mto: (5176.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5177.
  • Revision ID: bsd@acm.org-20100204191557-9l0biyczmaje93q3
Changed _get_append_revisions_only() to default to True on undecipherable input

Show diffs side-by-side

added added

removed removed

Lines of Context:
521
521
        def warning(*args):
522
522
            warnings.append(args[0] % args[1:])
523
523
        self.overrideAttr(trace, 'warning', warning)
524
 
        self.check_aro_is(False, 'not-a-bool')
 
524
        self.check_aro_is(True, 'not-a-bool')
525
525
        self.assertEqual(
526
526
            'Value "not-a-bool" for append_revisions_only is not a boolean,'
527
 
            ' defaulting to False',
 
527
            ' defaulting to True',
528
528
            warnings[0])
529
529
 
530
530