소스 검색

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