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

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        tree = MemoryTree.create_on_branch(branch)
110
110
        tree.lock_write()
111
111
        tree.add(['', 'foo'], ids=[b'root-id', b'foo-id'],
112
 
                  kinds=['directory', 'file'])
 
112
                 kinds=['directory', 'file'])
113
113
        tree.put_file_bytes_non_atomic('foo', b'barshoom')
114
114
        self.assertEqual(b'barshoom', tree.get_file('foo').read())
115
115
        tree.unlock()