diff --git a/run-pytest b/run-pytest index 24d46fe9..5e6ea5ac 100755 --- a/run-pytest +++ b/run-pytest @@ -52,13 +52,13 @@ echo "docker_compose_exec: ${docker_compose_exec[@]}" echo "-------------------------!!!!!!!!!!!!!11--------------" # Wait until the database is ready -${docker_compose_exec[@]} -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true +""${docker_compose_exec[@]}"" -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true #"${docker_compose_exec[@]}" -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true #docker compose exec -e RUN_MIGRATIONS=0 runserver ./docker-entrypoint /bin/true set +e -${docker_compose_exec[@]} runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}" +""${docker_compose_exec[@]}"" runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}" #"${docker_compose_exec[@]}" runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}" #docker compose exec runserver /home/bew/.venv/bin/pytest "${misc_opts[@]}" "${opts[@]}" @@ -68,7 +68,7 @@ exit_code=$? set -e if [[ -n "$xml_file" ]]; then - "${docker_compose_exec[@]}" runserver cat /tmp/pytest_junit.xml > "$xml_file" + ""${docker_compose_exec[@]}"" runserver cat /tmp/pytest_junit.xml > "$xml_file" fi exit $exit_code