Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9f184f5

Browse files
author
vshepard
committed
Change runner on pytest
1 parent 38b3dc3 commit 9f184f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

run_tests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1
2222
source $VENV_PATH/bin/activate
2323

2424
# install utilities
25-
$PIP install coverage flake8 psutil Sphinx
25+
$PIP install coverage flake8 psutil Sphinx pytest
2626

2727
# install testgres' dependencies
2828
export PYTHONPATH=$(pwd)
@@ -38,21 +38,21 @@ rm -f $COVERAGE_FILE
3838

3939

4040
# run tests (PATH)
41-
time coverage run -a tests/test_simple.py
41+
time coverage run -a -m pytest tests/test_simple_remote.py
4242

4343

4444
# run tests (PG_BIN)
4545
time \
4646
PG_BIN=$(dirname $(which pg_config)) \
4747
ALT_CONFIG=1 \
48-
coverage run -a tests/test_simple.py
48+
coverage run -a -m pytest tests/test_simple_remote.py
4949

5050

5151
# run tests (PG_CONFIG)
5252
time \
5353
PG_CONFIG=$(which pg_config) \
5454
ALT_CONFIG=1 \
55-
coverage run -a tests/test_simple.py
55+
coverage run -a -m pytest tests/test_simple_remote.py
5656

5757

5858
# show coverage

0 commit comments

Comments
 (0)