Tests: actually run tests in __init__.py files (#4969)

* demonstrate our pytest/CI configuration missing a __init__ test failure

* tell pytest/CI to run tests in __init__.py files

* revert the demonstration test failure

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
This commit is contained in:
Ixrec
2025-05-13 08:59:41 +01:00
committed by GitHub
parent 7d5693e0fb
commit 0994afa25b

View File

@@ -1,5 +1,5 @@
[pytest]
python_files = test_*.py Test*.py # TODO: remove Test* once all worlds have been ported
python_files = test_*.py Test*.py __init__.py # TODO: remove Test* once all worlds have been ported
python_classes = Test
python_functions = test
testpaths =