~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: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        inv = self.inv_to_test_inv(inv)
153
153
        self.assertEqual(inv.path2id('src'), 'src-id')
154
154
        self.assertEqual(inv.path2id('src/bye.c'), 'bye-id')
155
 
        self.assertTrue(
156
 
            self.applyDeprecated(
157
 
                deprecated_in((2, 4, 0)),
158
 
                inv.__contains__, 'src-id'))
159
155
 
160
156
    def test_non_directory_children(self):
161
157
        """Test path2id when a parent directory has no children"""