From dbd4a236c607579df3efcc65a1b557492e616c8e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 5 Mar 2014 06:40:37 -0800 Subject: [PATCH] Require testrepository and other tools at runtime Normally we don't want testrepository and some of the other related tools to be required at runtime, so they are listed in test-requirements.txt. However, this library is a test library, so it makes sense for them to be runtime requirements. As we port other test suites to use oslotest, we can remove their direct requirement on the tools and let oslotest manage the version dependency. Change-Id: I37ccf6514be4fcc21e1954d425e493c7fc920f8c --- requirements-py3.txt | 4 ++++ requirements.txt | 4 ++++ test-requirements-py3.txt | 5 ----- test-requirements.txt | 5 ----- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/requirements-py3.txt b/requirements-py3.txt index 8daebaf..2750781 100644 --- a/requirements-py3.txt +++ b/requirements-py3.txt @@ -1,4 +1,8 @@ +discover fixtures>=0.3.14 +python-subunit>=0.0.18 +testscenarios>=0.4 +testrepository>=0.0.18 testtools>=0.9.34 mock>=1.0 mox3>=0.7.0 diff --git a/requirements.txt b/requirements.txt index 9ef63c2..616af19 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,8 @@ +discover fixtures>=0.3.14 +python-subunit>=0.0.18 +testrepository>=0.0.18 +testscenarios>=0.4 testtools>=0.9.34 mock>=1.0 mox>=0.5.3 diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt index 03f920c..d209162 100644 --- a/test-requirements-py3.txt +++ b/test-requirements-py3.txt @@ -1,10 +1,5 @@ hacking>=0.8.0,<0.9 -discover -python-subunit>=0.0.18 -testrepository>=0.0.18 -testscenarios>=0.4 - # when we can require tox>= 1.4, this can go into tox.ini: # [testenv:cover] # deps = {[testenv]deps} coverage diff --git a/test-requirements.txt b/test-requirements.txt index 03f920c..d209162 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,10 +1,5 @@ hacking>=0.8.0,<0.9 -discover -python-subunit>=0.0.18 -testrepository>=0.0.18 -testscenarios>=0.4 - # when we can require tox>= 1.4, this can go into tox.ini: # [testenv:cover] # deps = {[testenv]deps} coverage