~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

  • Committer: Aaron Bentley
  • Date: 2007-06-14 12:44:12 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: aaron.bentley@utoronto.ca-20070614124412-1wryyqy1uxhn2j0g
Compress and base64-encode bundle contents

Show diffs side-by-side

added added

removed removed

Lines of Context:
1084
1084
        self.assertEqual(bundle_txt.readline(), '#\n')
1085
1085
 
1086
1086
        rev = self.b1.repository.get_revision(rev_id)
1087
 
        self.assertEqual(bundle_txt.readline().decode('utf-8'),
1088
 
                         u'bzr pack format 1\n')
1089
1087
 
1090
1088
        open(',,bundle', 'wb').write(bundle_txt.getvalue())
1091
1089
        bundle_txt.seek(0)