Codebase list cinder-tempest-plugin / 7c47222
Switch to stestr We don't really have unit tests in the repository and any py3x venv would not really be useful (the tests are executed through tempest), but let's remove the old dependency anyway and depend on stestr like all the other OpenStack projects. Change-Id: I52d06f1c1e141cb455fb7a823a27be532afb4c16 Luigi Toscano 5 years ago
5 changed file(s) with 9 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2626 !.coveragerc
2727 .tox
2828 nosetests.xml
29 .testrepository
29 .stestr
3030 .venv
3131
3232 # Translations
0 [DEFAULT]
1 test_path=${OS_TEST_PATH:-./cinder_tempest_plugin}
2 top_dir=./
+0
-7
.testr.conf less more
0 [DEFAULT]
1 test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
2 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
3 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
4 ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
5 test_id_option=--load-list $IDFILE
6 test_list_option=--list
66 coverage!=4.4,>=4.0 # Apache-2.0
77 python-subunit>=1.0.0 # Apache-2.0/BSD
88 oslotest>=3.2.0 # Apache-2.0
9 testrepository>=0.0.18 # Apache-2.0/BSD
9 stestr>=1.0.0 # Apache-2.0
1010 testtools>=2.2.0 # MIT
1111 setenv =
1212 VIRTUAL_ENV={envdir}
1313 PYTHONWARNINGS=default::DeprecationWarning
14 OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
15 OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}
16 OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
1417 deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1518 -r{toxinidir}/test-requirements.txt
16 commands = python setup.py test --slowest --testr-args='{posargs}'
19 commands = stestr run --slowest {posargs}
1720
1821 [testenv:pep8]
1922 commands = flake8 {posargs}