Переглянути джерело

declare "allow_cache_wipe" marker in setup.cfg to avoid pytest warning

Undeclared markers trigger a pytest warning:

    PytestUnknownMarkWarning: Unknown pytest.mark.allow_cache_wipe - is this a typo?
Felix Schwarz 5 роки тому
батько
коміт
3f68f40a38
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      setup.cfg

+ 2 - 0
setup.cfg

@@ -1,5 +1,7 @@
 [tool:pytest]
 python_files = testsuite/*.py
+markers =
+    allow_cache_wipe
 
 [flake8]
 # please note that the values are adjusted so that they do not cause failures