Closed sarahec closed 8 months ago
Pytest emits a PytestCollectionWarning whenever it encounters a class whose name begins with Test. Setting __test__ = False in these classes resolves the issue.
PytestCollectionWarning
Test
__test__ = False
See https://adamj.eu/tech/2020/07/28/how-to-fix-a-pytest-collection-warning-about-web-tests-test-app-class/
Pytest emits a
PytestCollectionWarning
whenever it encounters a class whose name begins withTest
. Setting__test__ = False
in these classes resolves the issue.See https://adamj.eu/tech/2020/07/28/how-to-fix-a-pytest-collection-warning-about-web-tests-test-app-class/