Skip to content

Commit 321bb6b

Browse files
slivercblueyed
authored andcommitted
Adjust test commands in contributing docs (#620)
1 parent db44ccf commit 321bb6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/contributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Django. The virtualenv can then be activated with::
124124

125125
Then, simply invoke pytest to run the test suite::
126126

127-
$ pytest --ds=tests.settings_sqlite
127+
$ pytest --ds=pytest_django_test.settings_sqlite
128128

129129

130130
tox can be used to run the test suite under different configurations by
@@ -137,7 +137,7 @@ writing), running them all will take a long time. All valid configurations can
137137
be found in `tox.ini`. To test against a few of them, invoke tox with the `-e`
138138
flag::
139139

140-
$ tox -e python3.6-1.11-postgres,python2.7-1.11-mysql_innodb
140+
$ tox -e py36-dj111-postgres,py27-dj111-mysql_innodb
141141

142142
This will run the tests on Python 3.6/Django 1.11/PostgeSQL and Python
143143
2.7/Django 1.11/MySQL.
@@ -160,7 +160,7 @@ but please don't include them in your pull requests.
160160

161161
After this short initial setup you're ready to run tests::
162162

163-
$ COVERAGE_PROCESS_START=`pwd`/.coveragerc COVERAGE_FILE=`pwd`/.coverage PYTHONPATH=`pwd` pytest --ds=tests.postgres_settings
163+
$ COVERAGE_PROCESS_START=`pwd`/.coveragerc COVERAGE_FILE=`pwd`/.coverage PYTHONPATH=`pwd` pytest --ds=pytest_django_test.settings_postgres
164164

165165
You should repeat the above step for sqlite and mysql before the next step.
166166
This step will create a lot of ``.coverage`` files with additional suffixes for

0 commit comments

Comments
 (0)