diff --git a/DEVELOPERS b/DEVELOPERS index 1b474c541f..bcbacc5665 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3147,11 +3147,13 @@ F: package/zlog/ F: support/testing/tests/package/sample_python_dicttoxml2.py F: support/testing/tests/package/sample_python_dtschema.py F: support/testing/tests/package/sample_python_munch.py +F: support/testing/tests/package/sample_python_pysmb.py F: support/testing/tests/package/test_libftdi1.py F: support/testing/tests/package/test_python_can.py F: support/testing/tests/package/test_python_dicttoxml2.py F: support/testing/tests/package/test_python_dtschema.py F: support/testing/tests/package/test_python_munch.py +F: support/testing/tests/package/test_python_pysmb.py F: utils/scanpypi N: Yunhao Tian diff --git a/support/testing/tests/package/sample_python_pysmb.py b/support/testing/tests/package/sample_python_pysmb.py new file mode 100644 index 0000000000..6b37530a84 --- /dev/null +++ b/support/testing/tests/package/sample_python_pysmb.py @@ -0,0 +1,2 @@ +from nmb.NetBIOS import NetBIOS # noqa +from smb.SMBHandler import SMBHandler # noqa diff --git a/support/testing/tests/package/test_python_pysmb.py b/support/testing/tests/package/test_python_pysmb.py new file mode 100644 index 0000000000..cc4c7fb1e5 --- /dev/null +++ b/support/testing/tests/package/test_python_pysmb.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Pysmb(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_PYSMB=y + """ + sample_scripts = ["tests/package/sample_python_pysmb.py"] + timeout = 40