diff options
author | John L. Villalovos <john.l.villalovos@intel.com> | 2016-04-08 15:13:18 -0700 |
---|---|---|
committer | John L. Villalovos <john.l.villalovos@intel.com> | 2016-04-08 15:13:18 -0700 |
commit | 5fd716412eedc9043b28109cf2bb95569be60687 (patch) | |
tree | d26fb79e809570c283044e3bf2d31e94a79f8bf1 /test-requirements.txt | |
parent | 491371e54b4020b764289e7be5389a4788f93bf0 (diff) | |
download | ironic-python-agent-5fd716412eedc9043b28109cf2bb95569be60687.tar.gz |
Switch tox unit test command to use ostestr
This commit switches the tox command to use ostestr instead of calling
testr through setup.py. The primary advantage here is that it uses the
subunit-trace output filter. ostestr primarily exists as a replacement
for pretty_tox.sh bash scripts which spread like a plague through
OpenStack projects after Nova copied it from Tempest. (although ostestr
also provides some other useful features) Granted ironic wasn't using
that, but this commit makes the switch to enable getting the
subunit-trace output which is generally useful.
Note that this dramatically increases output while running tests.
However, test failures are still at the bottom of the output, so it
shouldn't cause much pain, if any.
Also remove requirements.txt from tox.ini deps
This is redundant, per lifeless email:
http://lists.openstack.org/pipermail/openstack-dev/2015-July/069663.html
Change-Id: Ia9e3000ddfe02979c26807ae5d130bfd2730c5e1
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 6dac6e83..eba76438 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,10 +5,10 @@ hacking<0.11,>=0.10.0 coverage>=3.6 # Apache-2.0 discover # BSD mock>=1.2 # BSD -testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT python-subunit>=0.0.18 # Apache-2.0/BSD oslotest>=1.10.0 # Apache-2.0 +os-testr>=0.4.1 # Apache-2.0 # Doc requirements doc8 # Apache-2.0 |