Instead of trying to handle unittest-async functions in pytest_pyfunc_call, let the unittest framework handle them instead. This lets us remove the hack in pytest_pyfunc_call, with the upside that we should support any unittest-async based framework. Also included 'asynctest' as test dependency for py37-twisted, and renamed 'twisted' to 'unittestextras' to better reflect that we install 'twisted' and 'asynctest' now. This also fixes the problem of cleanUp functions not being properly called for async functions. Fix #7110 Fix #6924 |
||
---|---|---|
.. | ||
acceptance | ||
collect | ||
config/collect_pytest_prefix | ||
conftest_usageerror | ||
dataclasses | ||
fixtures | ||
issue88_initial_file_multinodes | ||
marks/marks_considered_keywords | ||
perf_examples/collect_stats | ||
tmpdir | ||
unittest | ||
warnings | ||
README.rst | ||
issue_519.py | ||
junit-10.xsd | ||
pytest.ini |
README.rst
Example test scripts ===================== The files in this folder are not direct tests, but rather example test suites that demonstrate certain issues/behaviours. In the future we will move part of the content of the acceptance tests here in order to have directly testable code instead of writing out things and then running them in nested pytest sessions/subprocesses. This will aid debugging and comprehension.