File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1
22
22
source $VENV_PATH /bin/activate
23
23
24
24
# install utilities
25
- $PIP install coverage flake8 psutil Sphinx
25
+ $PIP install coverage flake8 psutil Sphinx pytest
26
26
27
27
# install testgres' dependencies
28
28
export PYTHONPATH=$( pwd)
@@ -38,21 +38,21 @@ rm -f $COVERAGE_FILE
38
38
39
39
40
40
# run tests (PATH)
41
- time coverage run -a tests/test_simple .py
41
+ time coverage run -a -m pytest tests/test_simple_remote .py
42
42
43
43
44
44
# run tests (PG_BIN)
45
45
time \
46
46
PG_BIN=$( dirname $( which pg_config) ) \
47
47
ALT_CONFIG=1 \
48
- coverage run -a tests/test_simple .py
48
+ coverage run -a -m pytest tests/test_simple_remote .py
49
49
50
50
51
51
# run tests (PG_CONFIG)
52
52
time \
53
53
PG_CONFIG=$( which pg_config) \
54
54
ALT_CONFIG=1 \
55
- coverage run -a tests/test_simple .py
55
+ coverage run -a -m pytest tests/test_simple_remote .py
56
56
57
57
58
58
# show coverage
You can’t perform that action at this time.
0 commit comments