~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2016-01-31 13:36:59 UTC
  • mfrom: (6613.1.5 1538480-match-hostname)
  • Revision ID: pqm@pqm.ubuntu.com-20160131133659-ouy92ee2wlv9xz8m
(vila) Use ssl.match_hostname instead of our own. (Vincent Ladeuil)

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
    )
38
41
 
39
42
 
40
43
class TestInventory(TestCaseWithInventory):
149
152
        inv = self.inv_to_test_inv(inv)
150
153
        self.assertEqual(inv.path2id('src'), 'src-id')
151
154
        self.assertEqual(inv.path2id('src/bye.c'), 'bye-id')
152
 
        self.assertTrue('src-id' in inv)
153
155
 
154
156
    def test_non_directory_children(self):
155
157
        """Test path2id when a parent directory has no children"""