pytest: use --strict (#5966)

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 22:43:57 +02:00 committed by Tom Christie
parent d4dc24ea3e
commit fd4282c7fa

View File

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