/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_workingtree_4.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-15 18:45:17 UTC
  • mto: (7045.3.3 python3-r)
  • mto: This revision was merged to the branch mainline in revision 7047.
  • Revision ID: jelmer@jelmer.uk-20180715184517-1ipa50jg36zvglc5
Fix another 300 tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        # format 'Bazaar Working Tree format 4'
48
48
        # stat-cache = ??
49
49
        t = control.get_workingtree_transport(None)
50
 
        self.assertEqualDiff('Bazaar Working Tree Format 4 (bzr 0.15)\n',
 
50
        self.assertEqualDiff(b'Bazaar Working Tree Format 4 (bzr 0.15)\n',
51
51
                             t.get('format').read())
52
52
        self.assertFalse(t.has('inventory.basis'))
53
53
        # no last-revision file means 'None' or 'NULLREVISION'
755
755
        file_obj, statvalue = tree.get_file_with_stat('foo')
756
756
        expected = os.lstat('foo')
757
757
        self.assertEqualStat(expected, statvalue)
758
 
        self.assertEqual(["contents of foo\n"], file_obj.readlines())
 
758
        self.assertEqual([b"contents of foo\n"], file_obj.readlines())
759
759
 
760
760
 
761
761
class TestCorruptDirstate(TestCaseWithTransport):