Package list python-castellan / 1695612
Merge "Switch to stestr" Zuul authored 3 years ago Gerrit Code Review committed 3 years ago
6 changed file(s) with 17 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
2424 # Unit test / coverage reports
2525 .coverage
2626 .tox
27 nosetests.xml
28 .testrepository
27 .stestr/
2928 .venv
3029 cover
3130
0 [DEFAULT]
1 test_path=./castellan/tests
2 top_dir=./
3
+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 ./ ${OS_TEST_PATH:-./castellan/tests} $LISTOPT $IDOPTION
5 test_id_option=--load-list $IDFILE
6 test_list_option=--list
6565 Sphinx==1.6.2
6666 sphinxcontrib-websupport==1.0.1
6767 stevedore==1.20.0
68 testrepository==0.0.18
68 stestr==2.0.0
6969 testscenarios==0.4
7070 testtools==2.2.0
7171 traceback2==1.4.0
88 sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
99 openstackdocstheme>=1.18.1 # Apache-2.0
1010 oslotest>=3.2.0 # Apache-2.0
11 testrepository>=0.0.18 # Apache-2.0/BSD
11 stestr>=2.0.0 # Apache-2.0
1212 testscenarios>=0.4 # Apache-2.0/BSD
1313 testtools>=2.2.0 # MIT
1414 bandit>=1.1.0 # Apache-2.0
1212 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
1313 -r{toxinidir}/requirements.txt
1414 -r{toxinidir}/test-requirements.txt
15 commands = python setup.py testr --slowest --testr-args='{posargs}'
15 commands = stestr run --slowest {posargs}
1616
1717 [testenv:py27]
1818 basepython = python2.7
4646
4747 [testenv:cover]
4848 basepython = python3
49 setenv =
50 PYTHON=coverage run --source $project --parallel-mode
4951 commands =
50 python setup.py testr --coverage --testr-args='{posargs}'
51 coverage report
52 stestr run '{posargs}'
53 coverage combine
54 coverage html -d cover
55 coverage xml -o cover/coverage.xml
56 coverage report
5257
5358 [testenv:docs]
5459 basepython = python3
6469 setenv =
6570 VIRTUAL_ENV={envdir}
6671 OS_TEST_PATH=./castellan/tests/functional
67 commands = python setup.py testr --slowest --testr-args='{posargs}'
72 commands = stestr run --slowest {posargs}
6873
6974 [testenv:functional-vault]
7075 passenv = HOME
7479 VIRTUAL_ENV={envdir}
7580 OS_TEST_PATH=./castellan/tests/functional
7681 commands =
77 {toxinidir}/tools/setup-vault-env.sh pifpaf -e VAULT_TEST run vault -- python setup.py testr --slowest --testr-args='{posargs}'
82 {toxinidir}/tools/setup-vault-env.sh pifpaf -e VAULT_TEST run vault -- stestr run --slowest {posargs}
7883
7984 [testenv:genconfig]
8085 basepython = python3