/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/per_tree/test_inv.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for interface conformance of inventories of trees."""
18
18
 
19
19
 
20
 
from bzrlib import (
 
20
from breezy import (
21
21
    tests,
22
22
    )
23
 
from bzrlib.tests import (
 
23
from breezy.tests import (
24
24
    per_tree,
25
25
    )
26
 
from bzrlib.mutabletree import MutableTree
27
 
from bzrlib.tests import TestSkipped
28
 
from bzrlib.tree import InventoryTree
29
 
from bzrlib.transform import _PreviewTree
30
 
from bzrlib.uncommit import uncommit
31
 
from bzrlib.tests import (
 
26
from breezy.mutabletree import MutableTree
 
27
from breezy.tests import TestSkipped
 
28
from breezy.tree import InventoryTree
 
29
from breezy.transform import _PreviewTree
 
30
from breezy.uncommit import uncommit
 
31
from breezy.tests import (
32
32
    features,
33
33
    )
34
34
 
78
78
        tree = self._convert_tree(work_tree)
79
79
        tree.lock_read()
80
80
        self.addCleanup(tree.unlock)
81
 
        self.assertEqual(set(['dir-id', 'file-id']), tree.paths2ids(['dir']))
 
81
        self.assertEqual({'dir-id', 'file-id'}, tree.paths2ids(['dir']))
82
82
 
83
83
    def test_paths2ids_forget_old(self):
84
84
        work_tree = self.make_branch_and_tree('tree')