test_python_gitdb2.py 601 B

123456789101112131415161718192021
  1. from tests.package.test_python import TestPythonPackageBase
  2. class TestPythonPy2Gitdb2(TestPythonPackageBase):
  3. __test__ = True
  4. config = TestPythonPackageBase.config + \
  5. """
  6. BR2_PACKAGE_PYTHON=y
  7. BR2_PACKAGE_PYTHON_GITDB2=y
  8. """
  9. sample_scripts = ["tests/package/sample_python_gitdb2.py"]
  10. class TestPythonPy3Gitdb2(TestPythonPackageBase):
  11. __test__ = True
  12. config = TestPythonPackageBase.config + \
  13. """
  14. BR2_PACKAGE_PYTHON3=y
  15. BR2_PACKAGE_PYTHON_GITDB2=y
  16. """
  17. sample_scripts = ["tests/package/sample_python_gitdb2.py"]