docker-postgis/scenario_tests/init_scripts/tests/test.sh

15 wiersze
199 B
Bash

#!/usr/bin/env bash
set -e
source /scripts/env-data.sh
# execute tests
pushd /tests
PGHOST=localhost \
PGDATABASE=gis \
PYTHONPATH=/lib \
python3 -m unittest -v test_entrypoint.TestInitScript