2018-11-10 03:16:04 +01:00
|
|
|
from tests.package.test_python import TestPythonPackageBase
|
2017-09-07 15:25:42 +02:00
|
|
|
|
2018-03-13 04:09:41 +01:00
|
|
|
|
2018-11-10 03:16:04 +01:00
|
|
|
class TestPythonPy2Cryptography(TestPythonPackageBase):
|
|
|
|
__test__ = True
|
|
|
|
config = TestPythonPackageBase.config + \
|
2018-03-13 04:09:41 +01:00
|
|
|
"""
|
|
|
|
BR2_PACKAGE_PYTHON=y
|
|
|
|
BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y
|
|
|
|
"""
|
2018-11-10 03:16:04 +01:00
|
|
|
sample_scripts = ["tests/package/sample_python_cryptography.py"]
|
|
|
|
timeout = 40
|
2018-03-13 04:09:41 +01:00
|
|
|
|
2017-09-07 15:25:42 +02:00
|
|
|
|
2018-11-10 03:16:04 +01:00
|
|
|
class TestPythonPy3Cryptography(TestPythonPackageBase):
|
|
|
|
__test__ = True
|
|
|
|
config = TestPythonPackageBase.config + \
|
2018-03-13 04:09:41 +01:00
|
|
|
"""
|
|
|
|
BR2_PACKAGE_PYTHON3=y
|
|
|
|
BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y
|
|
|
|
"""
|
2018-11-10 03:16:04 +01:00
|
|
|
sample_scripts = ["tests/package/sample_python_cryptography.py"]
|
|
|
|
timeout = 40
|