File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ You need to install ``tox`` to run unit tests and documentation builds locally:
129129
130130.. code-block :: bash
131131
132- # run the unit tests for python 2/3 , and the pep8 tests:
132+ # run the unit tests for all supported python3 versions , and the pep8 tests:
133133 tox
134134
135135 # run tests in one environment only:
136- tox -epy35
136+ tox -epy36
137137
138138 # build the documentation, the result will be generated in
139139 # build/sphinx/html/
Original file line number Diff line number Diff line change @@ -27,15 +27,14 @@ try() { "$@" || fatal "'$@' failed"; }
2727
2828REUSE_CONTAINER=
2929NOVENV=
30- PY_VER=3
3130API_VER=4
3231GITLAB_IMAGE=" gitlab/gitlab-ce"
3332GITLAB_TAG=" latest"
33+ VENV_CMD=" python3 -m venv"
3434while getopts :knp:a: opt " $@ " ; do
3535 case $opt in
3636 k) REUSE_CONTAINER=1;;
3737 n) NOVENV=1;;
38- p) PY_VER=$OPTARG ;;
3938 a) API_VER=$OPTARG ;;
4039 t) GITLAB_TAG=$OPTARG ;;
4140 :) fatal " Option -${OPTARG} requires a value" ;;
@@ -44,12 +43,6 @@ while getopts :knp:a: opt "$@"; do
4443 esac
4544done
4645
47- case $PY_VER in
48- 2) VENV_CMD=virtualenv;;
49- 3) VENV_CMD=" python3 -m venv" ;;
50- * ) fatal " Wrong python version (2 or 3)" ;;
51- esac
52-
5346case $API_VER in
5447 4) ;;
5548 * ) fatal " Wrong API version (4 only)" ;;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ commands =
4444 coverage html --omit =*tests*
4545
4646[testenv:cli_func_v4]
47- commands = {toxinidir}/tools/functional_tests.sh -a 4 -p 2
47+ commands = {toxinidir}/tools/functional_tests.sh -a 4
4848
4949[testenv:py_func_v4]
50- commands = {toxinidir}/tools/py_functional_tests.sh -a 4 -p 2
50+ commands = {toxinidir}/tools/py_functional_tests.sh -a 4
You can’t perform that action at this time.
0 commit comments