mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix: guard plugin repo import in e2e test
This commit is contained in:
@ -1,7 +1,12 @@
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import pytest
|
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 qtpy.QtWidgets import QGridLayout
|
||||||
|
|
||||||
from bec_widgets.utils.widget_io import WidgetIO
|
from bec_widgets.utils.widget_io import WidgetIO
|
||||||
|
Reference in New Issue
Block a user