mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-12 14:27:14 +02:00
test: added test for static_device_test
This commit is contained in:
12
tests/test_static_device_test.py
Normal file
12
tests/test_static_device_test.py
Normal file
@ -0,0 +1,12 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
import bec_lib
|
||||
|
||||
from ophyd_devices.utils.static_device_test import launch
|
||||
|
||||
|
||||
def test_static_device_test():
|
||||
config_path = os.path.join(os.path.dirname(bec_lib.__file__), "configs", "demo_config.yaml")
|
||||
sys.argv = ["", "--config", config_path, "--connect"]
|
||||
launch()
|
Reference in New Issue
Block a user