~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_changeset.py

  • Committer: Aaron Bentley
  • Date: 2006-05-19 20:37:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060519203709-04f80427ff5c00f5
Got first binary test passing

Show diffs side-by-side

added added

removed removed

Lines of Context:
567
567
        tt.apply()
568
568
        self.tree1.commit('Delete symlink', rev_id='l@cset-0-4')
569
569
        self.get_valid_cset('l@cset-0-3', 'l@cset-0-4')
 
570
 
 
571
    def test_binary_cset(self):
 
572
        self.tree1 = BzrDir.create_standalone_workingtree('b1')
 
573
        self.b1 = self.tree1.branch
 
574
        tt = TreeTransform(self.tree1)
 
575
        tt.new_file('file', tt.root, '\x00\xff', 'binary-1')
 
576
        tt.apply()
 
577
        self.tree1.commit('add binary', rev_id='b@cset-0-1')
 
578
        self.get_valid_cset(None, 'b@cset-0-1')