Skip to content

Commit e2ea836

Browse files
author
Ahmed Kassem
committed
Configure tox/pytest to capture warnings
Capture all unit/functional tests warnings and turn them into errors
1 parent 69ce621 commit e2ea836

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ commands =
1515
--cov-report=term-missing \
1616
{posargs:tests}
1717

18+
[pytest]
19+
filterwarnings =
20+
error
21+
1822
[testenv:lint]
1923
skip_install = True
2024
skipsdist = True

0 commit comments

Comments
 (0)