~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_inventory/basics.py

  • Committer: Andrew Bennetts
  • Date: 2010-10-08 08:15:14 UTC
  • mto: This revision was merged to the branch mainline in revision 5498.
  • Revision ID: andrew.bennetts@canonical.com-20101008081514-dviqzrdfwyzsqbz2
Split NEWS into per-release doc/en/release-notes/bzr-*.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
from bzrlib.tests.per_inventory import TestCaseWithInventory
37
37
 
38
 
from bzrlib.symbol_versioning import (
39
 
    deprecated_in,
40
 
    )
41
38
 
42
39
 
43
40
class TestInventory(TestCaseWithInventory):
152
149
        inv = self.inv_to_test_inv(inv)
153
150
        self.assertEqual(inv.path2id('src'), 'src-id')
154
151
        self.assertEqual(inv.path2id('src/bye.c'), 'bye-id')
 
152
        self.assertTrue('src-id' in inv)
155
153
 
156
154
    def test_non_directory_children(self):
157
155
        """Test path2id when a parent directory has no children"""