diff options
| author | Matthew Treinish <mtreinish@kortar.org> | 2015-05-29 11:27:16 -0400 |
|---|---|---|
| committer | Matthew Treinish <mtreinish@kortar.org> | 2015-05-29 11:31:15 -0400 |
| commit | ae29f7f459afb567abc36bd0627157e7c84c7568 (patch) | |
| tree | c8758981010b89f1d3f26092e6bad9f77e46391c | |
| parent | 211c14c638b9bf393932be42d4f04a4dd12a84bc (diff) | |
| download | python-openstackclient-ae29f7f459afb567abc36bd0627157e7c84c7568.tar.gz | |
Use ostestr for test runs
This commit switches to use ostestr for running tests. ostestr
integrates the subunit-trace output that other projects use for test
output. (in addition to some other ui niceties)
Change-Id: Ib5b5225b2a7bfb7897e1efe55181389d1ae095cb
| -rw-r--r-- | test-requirements.txt | 1 | ||||
| -rw-r--r-- | tox.ini | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 24f5c68e..f82e48d7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,6 +11,7 @@ oslosphinx>=2.5.0 # Apache-2.0 oslotest>=1.5.1 # Apache-2.0 requests-mock>=0.6.0 # Apache-2.0 sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 +os-testr>=0.1.0 testrepository>=0.0.18 testtools>=0.9.36,!=1.2.0 WebOb>=1.2.3 @@ -9,8 +9,8 @@ install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --testr-args='{posargs}' -whitelist_externals = bash +commands = ostestr {posargs} +whitelist_externals = ostestr [testenv:pep8] commands = flake8 |
