1from tests.package.test_python import TestPythonPackageBase
2
3
4class TestPythonPy3Mako(TestPythonPackageBase):
5    __test__ = True
6    config = TestPythonPackageBase.config + \
7        """
8        BR2_PACKAGE_PYTHON3=y
9        BR2_PACKAGE_PYTHON_MAKO=y
10        """
11    sample_scripts = ["tests/package/sample_python_mako.py"]
12    timeout = 30
13
14
15class TestPythonPy3MakoExt(TestPythonPackageBase):
16    __test__ = True
17    config = TestPythonPackageBase.config + \
18        """
19        BR2_PACKAGE_PYTHON3=y
20        BR2_PACKAGE_PYTHON_MAKO=y
21        BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN=y
22        BR2_PACKAGE_PYTHON_MAKO_EXT_BABELPLUGIN=y
23        """
24    sample_scripts = ["tests/package/sample_python_mako_ext.py"]
25    timeout = 30
26