/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/features.py

Add a _CompatibilityThunkFeature.

It sends a DeprecationWarning, and then thunks over to the real feature.
This should make it easier to rename features and move them into
bzrlib.tests.features without breaking plugins, etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
 
21
21
ApportFeature = tests.ModuleAvailableFeature('apport')
22
 
paramiko = tests.ParamikoFeature
 
22
paramiko = tests.ModuleAvailableFeature('paramiko')
23
23
pycurl = tests.ModuleAvailableFeature('pycurl')
 
24
subunit = tests.ModuleAvailableFeature('subunit')