11[pytest]
22
3- # Display console output, disable cacheprovider, don't collect recordings :
4- addopts = --capture =no -p no:cacheprovider -- ignore =recordings
3+ # Display console output. Disable cacheprovider:
4+ addopts = --capture =no -p no:cacheprovider
55
6- # Skip looking in these directories for tests :
7- norecursedirs = .* build dist recordings temp
6+ # Skip these directories during test collection :
7+ norecursedirs = .* build dist recordings temp assets
88
9- # Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
9+ # Ignore DeprecationWarning, PytestUnknownMarkWarning
1010filterwarnings =
1111 ignore::pytest.PytestWarning
1212 ignore:.*U.*mode is deprecated:DeprecationWarning
@@ -16,15 +16,14 @@ junit_family = legacy
1616
1717# Set pytest discovery rules:
1818# (Most of the rules here are similar to the default rules.)
19- # (unittest.TestCase rules override the rules here for classes and functions .)
19+ # (Inheriting unittest.TestCase could override these rules.)
2020python_files = test_*.py *_test.py *_tests.py *_suite.py *_test_*.py
2121python_classes = Test* *Test* *Test *Tests *Suite
2222python_functions = test_*
2323
24- # Here are some common pytest markers:
25- # (Some are used in the example tests.)
26- # (pytest v4.5.0 and newer requires marker registration to prevent warnings.)
27- # (Future versions of pytest may turn those marker warnings into errors.)
24+ # Common pytest markers used in examples:
25+ # (pytest may require marker registration to prevent warnings.)
26+ # (Future versions may turn those marker warnings into errors.)
2827markers =
2928 marker1: custom marker
3029 marker2: custom marker
0 commit comments