/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: 2018-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

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()