summaryrefslogtreecommitdiff
path: root/tools/build_test_env.sh
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-04-26 16:57:49 +0200
committerNejc Habjan <hab.nejc@gmail.com>2020-04-26 21:23:53 +0200
commitc4ab4f57e23eed06faeac8d4fa9ffb9ce5d47e48 (patch)
tree941323770ee9f09b561631170a33bd4547953378 /tools/build_test_env.sh
parent91c1c27956a51e2e12e3104c30988696711230ff (diff)
downloadgitlab-test/pytest-cli-tests.tar.gz
test(cli): convert shell tests to pytest test casestest/pytest-cli-tests
Diffstat (limited to 'tools/build_test_env.sh')
-rwxr-xr-xtools/build_test_env.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/build_test_env.sh b/tools/build_test_env.sh
index 91c2896..adab24d 100755
--- a/tools/build_test_env.sh
+++ b/tools/build_test_env.sh
@@ -104,20 +104,6 @@ letsencrypt['enable'] = false
"$GITLAB_IMAGE:$GITLAB_TAG" >/dev/null
fi
-LOGIN='root'
-PASSWORD='5iveL!fe'
-GITLAB() { gitlab --config-file "$CONFIG" "$@"; }
-GREEN='\033[0;32m'
-NC='\033[0m'
-OK() { printf "${GREEN}OK${NC}\\n"; }
-testcase() {
- testname=$1; shift
- testscript=$1; shift
- printf %s "Testing ${testname}... "
- eval "${testscript}" || fatal "test failed"
- OK
-}
-
if [ -z "$NOVENV" ]; then
log "Creating Python virtualenv..."
try $VENV_CMD "$VENV"
@@ -130,7 +116,7 @@ if [ -z "$NOVENV" ]; then
try pip install -e .
# to run generate_token.py
- pip install requests-html
+ pip install requests-html pytest-console-scripts
fi
log "Waiting for gitlab to come online... "