support/testing: test_python_txaio: include twisted sample

Prior to b7d251293a, txaio would test both asyncio and twisted.

Add back the twisted sample and include the twisted package in the
config so both modes of the package are tested.

Fixes: b7d251293a ("package/python-txaio: drop python 2 support")
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 41b08a779b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Vincent Fazio
2025-02-14 11:45:09 -06:00
committed by Peter Korsgaard
parent f54926d256
commit ab5f8362bd

View File

@@ -7,5 +7,6 @@ class TestPythonPy3Txaio(TestPythonPackageBase):
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_TXAIO=y
BR2_PACKAGE_PYTHON_TWISTED=y
"""
sample_scripts = ["tests/package/sample_python_txaio_asyncio.py"]
sample_scripts = ["tests/package/sample_python_txaio_asyncio.py", "tests/package/sample_python_txaio_twisted.py"]