~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_crash.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-04 13:45:44 UTC
  • mto: (5005.1.1 integration2)
  • mto: This revision was merged to the branch mainline in revision 5007.
  • Revision ID: v.ladeuil+lp@free.fr-20100204134544-cgctxctrblez8nj5
Just delete ApportFeature.

* bzrlib/tests/test_crash.py:
(TestApportDeprecation): Deleted.

* bzrlib/tests/features.py: 
Delete ApportFeature, nobody cares enough about it.

* bzrlib/tests/__init__.py:
(_CompatabilityThunkFeature._ensure): Clarify the intent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from bzrlib.tests import features
34
34
 
35
35
 
36
 
class TestApportDeprecation(tests.TestCaseInTempDir):
37
 
 
38
 
    _test_needs_features = [features.apport]
39
 
 
40
 
    def test_deprecation(self):
41
 
        res = self.callDeprecated(
42
 
            ['bzrlib.tests.features.ApportFeature was deprecated'
43
 
             ' in version 2.2.0. Use bzrlib.tests.features.apport instead.'],
44
 
            features.ApportFeature.available)
45
 
        self.assertEqual(res, features.ApportFeature.available())
46
 
 
47
 
 
48
36
class TestApportReporting(tests.TestCaseInTempDir):
49
37
 
50
38
    _test_needs_features = [features.apport]