瀏覽代碼

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