Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f184f5

Browse files
author
vshepard
committed
Change runner on pytest
1 parent38b3dc3 commit9f184f5

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 pytesttests/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 pytesttests/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 pytesttests/test_simple_remote.py
5656

5757

5858
# show coverage

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp