Files
rpi-buildroot/support/testing/tests/package/test_python_mako.py
Romain Naour f9f6da877a support/testing: TestPythonPy3MakoExt: new test for mako external plugins
Mako provide some external plugins that requires additionnal and
optional runtime dependencies, make sure we test these situations.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-09-30 18:48:26 +02:00

26 lines
733 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Mako(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_MAKO=y
"""
sample_scripts = ["tests/package/sample_python_mako.py"]
timeout = 30
class TestPythonPy3MakoExt(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_MAKO=y
BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN=y
BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN=y
"""
sample_scripts = ["tests/package/sample_python_mako_ext.py"]
timeout = 30