~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Gordon Tyler
  • Date: 2010-01-14 15:24:04 UTC
  • mto: (5037.3.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5046.
  • Revision ID: gordon@doxxx.net-20100114152404-d64ik2afl96lcml0
Reverted changes to test_rules since the original should work now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006, 2007, 2009 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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(None, branch._get_append_revisions_only())
 
199
        self.assertEqual(False, 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())