/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_chk_serializer.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 23:48:08 UTC
  • mfrom: (7316 work)
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190603234808-15yk5c7054tj8e2b
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        self.assertEqual(None, rev.timezone)
87
87
 
88
88
    def assertRoundTrips(self, serializer, orig_rev):
89
 
        lines = serializer.write_revision_to_lines(orig_rev)
90
 
        new_rev = serializer.read_revision_from_string(b''.join(lines))
 
89
        text = serializer.write_revision_to_string(orig_rev)
 
90
        new_rev = serializer.read_revision_from_string(text)
91
91
        self.assertEqual(orig_rev, new_rev)
92
92
 
93
93
    def test_roundtrips_non_ascii(self):