/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/per_tree/test_tree.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        tree.lock_read()
138
138
        self.addCleanup(tree.unlock)
139
139
        self.assertEqual(tree.all_file_ids(),
140
 
                         set(['b-id', 'root-id', 'c-id', 'a-id']))
 
140
                         {'b-id', 'root-id', 'c-id', 'a-id'})
141
141
 
142
142
 
143
143
class TestStoredKind(TestCaseWithTree):
258
258
        tree = self._convert_tree(work_tree)
259
259
        output = [e.name for e in
260
260
            tree.iter_child_entries(tree.get_root_id())]
261
 
        self.assertEqual(set(['a', 'f']), set(output))
 
261
        self.assertEqual({'a', 'f'}, set(output))
262
262
        output = [e.name for e in
263
263
            tree.iter_child_entries(tree.path2id('a'))]
264
 
        self.assertEqual(set(['b', 'd']), set(output))
 
264
        self.assertEqual({'b', 'd'}, set(output))
265
265
 
266
266
    def test_does_not_exist(self):
267
267
        work_tree = self.make_branch_and_tree('.')