From 0ea5f48ca5d8e2cddbcbac3aa8ce5e71c70662b2 Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Wed, 24 Oct 2018 16:36:28 +0200 Subject: [PATCH] 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. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index e5b9f930..61ea29c2 100644 --- a/README.rst +++ b/README.rst @@ -142,7 +142,7 @@ installed and activated: $ pip install -r requirements-development.txt $ flake8 - $ DJANGO_SETTINGS_MODULE=example.settings.test py.test + $ pytest ----- Usage