diff --git a/setup.cfg b/setup.cfg index a665f95ce..e2cb2a812 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,10 @@ universal = 1 [metadata] license_file = LICENSE.md +[pytest] +addopts=--tb=short --strict +testspath = tests + [flake8] ignore = E501 banned-modules = json = use from rest_framework.utils import json! diff --git a/tox.ini b/tox.ini index 9efeea5e5..4ea8ff7be 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,3 @@ -[pytest] -addopts=--tb=short --strict - [tox] envlist = {py27,py34,py35}-django110,