Skip to content

Commit db0751a

Browse files
author
Oliver Sauder
committed
Use pytest instead of py.test
py.test is the old way of running pytest. Also remove DJANGO_SETTINGS_MODULE env when running tests This is already defined in pytest.ini and py.test will take it from as it should also take parameters we might add in pytest.ini in the future.
1 parent d0debda commit db0751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ installed and activated:
142142

143143
$ pip install -r requirements-development.txt
144144
$ flake8
145-
$ DJANGO_SETTINGS_MODULE=example.settings.test py.test
145+
$ pytest
146146

147147
-----
148148
Usage

0 commit comments

Comments
 (0)