summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2018-05-21 15:01:01 -0700
committerStephen Finucane <sfinucan@redhat.com>2018-07-18 15:26:52 +0100
commit6f5c1ee8e4e9c1c05f16b7dfe57c3245ad38b0cf (patch)
tree8490593a9c7561beaa31e8c0e8dcecf2bc329eb7
parentecbda3076e4787241f4a4d8b00e36c7d7d55077e (diff)
Deprecate 'test' integrationHEADmaster
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: Stephen Finucane <sfinucan@redhat.com>
Notes
Notes (review): Code-Review+2: Ben Nemec <openstack@nemebean.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 20 Jul 2018 22:55:32 +0000 Reviewed-on: https://review.openstack.org/580422 Project: openstack-dev/pbr Branch: refs/heads/master
-rw-r--r--pbr/packaging.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 44bfb1a..8656a6c 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -217,8 +217,14 @@ class TestrTest(testr_command.Testr):
217 """Make setup.py test do the right thing.""" 217 """Make setup.py test do the right thing."""
218 218
219 command_name = 'test' 219 command_name = 'test'
220 description = 'DEPRECATED: Run unit tests using testr'
220 221
221 def run(self): 222 def run(self):
223 warnings.warn('testr integration is deprecated in pbr 4.2 and will '
224 'be removed in a future release. Please call your test '
225 'runner directly',
226 DeprecationWarning)
227
222 # Can't use super - base class old-style class 228 # Can't use super - base class old-style class
223 testr_command.Testr.run(self) 229 testr_command.Testr.run(self)
224 230