diff --git a/node-hub/dora-piper/tests/test_piper.py b/node-hub/dora-piper/tests/test_piper.py new file mode 100644 index 00000000..491c448d --- /dev/null +++ b/node-hub/dora-piper/tests/test_piper.py @@ -0,0 +1,9 @@ +def test_import_main(): + import piper_sdk + + # from opencv_video_capture.main import main + # skip test as pyorbbecksdk installation is a bit complicated + + # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow. + # with pytest.raises(RuntimeError): + # main() diff --git a/node-hub/dora-pyorbbecksdk/tests/test_pyorbbecksdk.py b/node-hub/dora-pyorbbecksdk/tests/test_pyorbbecksdk.py index e6ef37f4..5a4dcb7d 100644 --- a/node-hub/dora-pyorbbecksdk/tests/test_pyorbbecksdk.py +++ b/node-hub/dora-pyorbbecksdk/tests/test_pyorbbecksdk.py @@ -1,6 +1,7 @@ def test_import_main(): + import pyorbbecksdk + # from opencv_video_capture.main import main - pass # skip test as pyorbbecksdk installation is a bit complicated # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow. diff --git a/node-hub/dora-ugv/tests/test_ugv.py b/node-hub/dora-ugv/tests/test_ugv.py new file mode 100644 index 00000000..fea1cba6 --- /dev/null +++ b/node-hub/dora-ugv/tests/test_ugv.py @@ -0,0 +1,12 @@ +import pytest + + +def test_import_main(): + import ugv_sdk_py + + # from opencv_video_capture.main import main + # skip test as pyorbbecksdk installation is a bit complicated + + # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow. + # with pytest.raises(RuntimeError): + # main()