~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_inv.py

  • Committer: Martin von Gagern
  • Date: 2010-04-20 08:47:38 UTC
  • mfrom: (5167 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5195.
  • Revision ID: martin.vgagern@gmx.net-20100420084738-ygymnqmdllzrhpfn
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
"""Tests for interface conformance of inventories of working trees."""
18
18
 
24
24
    errors,
25
25
    inventory,
26
26
    )
27
 
from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
 
27
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
28
28
 
29
29
 
30
30
class TestRevert(TestCaseWithWorkingTree):
137
137
        self.build_tree(['dir/', 'dir/child', 'other/'])
138
138
        wt.add(['dir', 'dir/child', 'other'],
139
139
               ['dir-id', 'child-id', 'other-id'])
140
 
        # this delta moves dir-id to dir2 and reparents 
 
140
        # this delta moves dir-id to dir2 and reparents
141
141
        # child-id to a parent of other-id
142
142
        wt.apply_inventory_delta([('dir', 'dir2', 'dir-id',
143
143
            inventory.InventoryDirectory('dir-id', 'dir2', root_id)),