File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ try() { "$@" || fatal "'$@' failed"; }
27
27
28
28
REUSE_CONTAINER=
29
29
NOVENV=
30
- PY_VER=3
31
30
API_VER=4
32
31
GITLAB_IMAGE=" gitlab/gitlab-ce"
33
32
GITLAB_TAG=" latest"
34
- while getopts :knp:a: opt " $@ " ; do
33
+ VENV_CMD=" python3 -m venv"
34
+
35
+ while getopts :kn:a: opt " $@ " ; do
35
36
case $opt in
36
37
k) REUSE_CONTAINER=1;;
37
38
n) NOVENV=1;;
38
- p) PY_VER=$OPTARG ;;
39
39
a) API_VER=$OPTARG ;;
40
40
t) GITLAB_TAG=$OPTARG ;;
41
41
:) fatal " Option -${OPTARG} requires a value" ;;
@@ -44,12 +44,6 @@ while getopts :knp:a: opt "$@"; do
44
44
esac
45
45
done
46
46
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
-
53
47
case $API_VER in
54
48
4) ;;
55
49
* ) fatal " Wrong API version (4 only)" ;;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ commands =
45
45
omit = *tests*
46
46
47
47
[testenv:cli_func_v4]
48
- commands = {toxinidir}/tools/functional_tests.sh -a 4 -p 2
48
+ commands = {toxinidir}/tools/functional_tests.sh -a 4
49
49
50
50
[testenv:py_func_v4]
51
- commands = {toxinidir}/tools/py_functional_tests.sh -a 4 -p 2
51
+ commands = {toxinidir}/tools/py_functional_tests.sh -a 4
You can’t perform that action at this time.
0 commit comments