pytest: use --strict

This causes errors with invalid markers:

> AttributeError: 'skipUnless' not a registered marker

Fixed in https://github.com/encode/django-rest-framework/pull/5965.
This commit is contained in:
Daniel Hahler 2018-05-03 13:35:29 +02:00
parent 8c03c49400
commit de25141110

View File

@ -1,5 +1,5 @@
[pytest]
addopts=--tb=short
addopts=--tb=short --strict
[tox]
envlist =