mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-01-30 20:54:55 +01:00
fix: ophyd test run with list
This commit is contained in:
@@ -312,13 +312,8 @@ class StaticDeviceTest:
|
||||
try:
|
||||
return_val += self.validate_schema(name, conf)
|
||||
return_val += self.check_device_classes(name, conf)
|
||||
if connect:
|
||||
if device_manager is not None and connect:
|
||||
return_val += self.connect_device(name, conf)
|
||||
self.validate_schema(name, conf)
|
||||
self.check_device_classes(name, conf)
|
||||
if device_manager is not None:
|
||||
self.connect_device(name, conf)
|
||||
|
||||
if return_val == 0:
|
||||
status = True
|
||||
self.print_and_write(f"{name} is OK")
|
||||
|
||||
Reference in New Issue
Block a user