소스 검색

Suppress part of an obnoxious warning about disabling coverage (for end-to-end tests).

Dan Helfman 6 년 전
부모
커밋
76d79f0331
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      setup.cfg

+ 2 - 0
setup.cfg

@@ -4,6 +4,8 @@ description-file=README.md
 [tool:pytest]
 testpaths = tests
 addopts = --cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end
+filterwarnings = 
+    ignore:Coverage disabled.*:pytest.PytestWarning
 
 [flake8]
 ignore = E501,W503