0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix: guard plugin repo import in e2e test

This commit is contained in:
2025-05-30 09:13:31 +02:00
committed by David Perl
parent 05329ab50f
commit bf172b8431

View File

@ -1,7 +1,12 @@
import time
import pytest
from bec_testing_plugin.scans.metadata_schema.custom_test_scan_schema import CustomScanSchema
try:
from bec_testing_plugin.scans.metadata_schema.custom_test_scan_schema import CustomScanSchema
except ImportError:
pytest.skip(reason="Requires plugin repo!", allow_module_level=True)
from qtpy.QtWidgets import QGridLayout
from bec_widgets.utils.widget_io import WidgetIO