mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 21:11:41 -09:00
support/testing: add new test for python-boto3
Add a rudimentary test inspired from the "Using boto3" section in the package README ([1]). Note that it doesn't try to do anything with the instanciated resource, as this would require a network connection when the test runs. [1]: https://github.com/boto/boto3 Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
7fc54e2b10
commit
5562eb58e8
12
support/testing/tests/package/test_python_boto3.py
Normal file
12
support/testing/tests/package/test_python_boto3.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from tests.package.test_python import TestPythonPackageBase
|
||||
|
||||
|
||||
class TestPythonPy3Boto3(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_PYTHON_BOTO3=y
|
||||
"""
|
||||
sample_scripts = ["tests/package/sample_python_boto3.py"]
|
||||
timeout = 10
|
||||
Reference in New Issue
Block a user