test_ok2/testing/example_scripts/unittest
Bruno Oliveira fd2f172258 Let unittest frameworks deal with async functions
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
2020-05-01 15:10:28 -03:00
..
test_parametrized_fixture_error_message.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_setup_skip.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_setup_skip_class.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_setup_skip_module.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_unittest_asyncio.py Let unittest frameworks deal with async functions 2020-05-01 15:10:28 -03:00
test_unittest_asynctest.py Let unittest frameworks deal with async functions 2020-05-01 15:10:28 -03:00