Commit 6f5c1ee8 authored by Stephen Finucane's avatar Stephen Finucane

Deprecate 'test' integration

No one in OpenStack should be using this command any more and it's
unlikely that anyone outside it is even using these. We don't want to
have to continue supporting this going forward so let's start the
deprecation process.

Change-Id: I51e8ebb0268ff7ec1e71d66ff59422fcc7377c4c
Signed-off-by: 's avatarStephen Finucane <>
parent ecbda307
......@@ -217,8 +217,14 @@ class TestrTest(testr_command.Testr):
"""Make test do the right thing."""
command_name = 'test'
description = 'DEPRECATED: Run unit tests using testr'
def run(self):
warnings.warn('testr integration is deprecated in pbr 4.2 and will '
'be removed in a future release. Please call your test '
'runner directly',
# Can't use super - base class old-style class
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment