feat: init
This commit is contained in:
20
test/model/devices/remote_focus/test_rf_synthetic.py
Normal file
20
test/model/devices/remote_focus/test_rf_synthetic.py
Normal file
@@ -0,0 +1,20 @@
|
||||
def test_remote_focus_synthetic_functions():
|
||||
from navigate.model.devices.remote_focus.synthetic import (
|
||||
SyntheticRemoteFocus,
|
||||
)
|
||||
from test.model.dummy import DummyModel
|
||||
|
||||
model = DummyModel()
|
||||
microscope_name = model.configuration["experiment"]["MicroscopeState"][
|
||||
"microscope_name"
|
||||
]
|
||||
rf = SyntheticRemoteFocus(microscope_name, None, model.configuration)
|
||||
|
||||
funcs = ["move"]
|
||||
args = [[0.1, None]]
|
||||
|
||||
for f, a in zip(funcs, args):
|
||||
if a is not None:
|
||||
getattr(rf, f)(*a)
|
||||
else:
|
||||
getattr(rf, f)()
|
||||
Reference in New Issue
Block a user