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>
26 lines
733 B
Python
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
|