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

  • Committer: Jelmer Vernooij
  • Date: 2018-04-02 00:52:27 UTC
  • mfrom: (6939 work)
  • mto: This revision was merged to the branch mainline in revision 7274.
  • Revision ID: jelmer@jelmer.uk-20180402005227-pecflp1mvdjrjqd6
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    def test_build_tree(self):
30
30
        """Test tree-building test helper"""
31
31
        self.build_tree_contents([
32
 
            ('foo', 'new contents'),
 
32
            ('foo', b'new contents'),
33
33
            ('.bzr/',),
34
 
            ('.bzr/README', 'hello'),
 
34
            ('.bzr/README', b'hello'),
35
35
            ])
36
36
        self.assertPathExists('foo')
37
37
        self.assertPathExists('.bzr/README')
38
 
        self.assertFileEqual('hello', '.bzr/README')
 
38
        self.assertFileEqual('hello', b'.bzr/README')
39
39
 
40
40
    def test_build_tree_symlink(self):
41
41
        self.requireFeature(features.SymlinkFeature)