~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testbranch.py

  • Committer: Martin Pool
  • Date: 2005-09-29 13:17:01 UTC
  • mto: (1185.14.2)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: mbp@sourcefrog.net-20050929131700-4ae755b892e917b6
- tidy up test assertion

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        os.mkdir('c')
84
84
        br_c = copy_branch(br_a, 'c', basis_branch=br_b)
85
85
        self.assertEqual(br_a.revision_history(), br_c.revision_history())
86
 
        assert br_b.last_revision() not in br_c.revision_history()
 
86
        self.assertFalse(br_b.last_revision() in br_c.revision_history())
87
87
        br_c.get_revision(br_b.last_revision())
 
88
        
88
89
# TODO: rewrite this as a regular unittest, without relying on the displayed output        
89
90
#         >>> from bzrlib.commit import commit
90
91
#         >>> bzrlib.trace.silent = True