Prior tob7d251293a, 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>
13 lines
421 B
Python
13 lines
421 B
Python
from tests.package.test_python import TestPythonPackageBase
|
|
|
|
|
|
class TestPythonPy3Txaio(TestPythonPackageBase):
|
|
__test__ = True
|
|
config = TestPythonPackageBase.config + \
|
|
"""
|
|
BR2_PACKAGE_PYTHON3=y
|
|
BR2_PACKAGE_PYTHON_TXAIO=y
|
|
BR2_PACKAGE_PYTHON_TWISTED=y
|
|
"""
|
|
sample_scripts = ["tests/package/sample_python_txaio_asyncio.py", "tests/package/sample_python_txaio_twisted.py"]
|