test: added test for static_device_test

This commit is contained in:
2024-01-26 17:54:03 +01:00
parent 257a316f6e
commit baac1ffe87
2 changed files with 14 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ except ImportError:
device_manager = None
class StaticDeviceTest: # pragma: no cover
class StaticDeviceTest:
"""Class to perform tests on an ophyd device config file."""
def __init__(self, config: str, output_file: TextIOWrapper) -> None:
@@ -293,7 +293,7 @@ def launch() -> None:
device_config_test.run(clargs.connect)
if __name__ == "__main__":
if __name__ == "__main__": # pragma: no cover
import sys
sys.argv = ["", "--config", "../bec/bec_lib/bec_lib/configs/demo_config.yaml", "--connect"]