~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_init.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-23 08:35:38 UTC
  • mfrom: (5176.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100423083538-2fokv22a7e596kmb
(vila) Warn if a config variable can't be interpreted as a boolean

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
    def test_init_append_revisions_only(self):
197
197
        self.run_bzr('init --dirstate-tags normal_branch6')
198
198
        branch = _mod_branch.Branch.open('normal_branch6')
199
 
        self.assertEqual(False, branch._get_append_revisions_only())
 
199
        self.assertEqual(None, branch._get_append_revisions_only())
200
200
        self.run_bzr('init --append-revisions-only --dirstate-tags branch6')
201
201
        branch = _mod_branch.Branch.open('branch6')
202
202
        self.assertEqual(True, branch._get_append_revisions_only())