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

Commit 860a096

Browse files
slivercn2ygk
authored andcommitted
Use pytest instead of py.test (#502)
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 b3eed32 commit 860a096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.rst‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /