669
662
super(TestBranchOptions, self).setUp()
670
663
self.branch = self.make_branch('.')
673
666
def check_append_revisions_only(self, expected_value, value=None):
674
667
"""Set append_revisions_only in config and check its interpretation."""
677
670
self.assertEqual(expected_value,
678
671
self.branch.get_append_revisions_only())
680
673
def test_valid_append_revisions_only(self):
683
676
self.check_append_revisions_only(None)
684
677
self.check_append_revisions_only(False, 'False')
685
678
self.check_append_revisions_only(True, 'True')