🚧 WIP
This commit is contained in:
@@ -18,7 +18,7 @@ def _write(tmp_path: Path, text: str) -> Path:
|
||||
def test_example_config_loads() -> None:
|
||||
config = load_config(EXAMPLE)
|
||||
assert config.opc.server == "Matrikon.OPC.Simulation.1"
|
||||
assert config.opc.host == "CONTROL-HOST01"
|
||||
assert config.opc.host is None # host commented out -> local server
|
||||
assert len(config.tags) == 2
|
||||
assert config.tags[0].name == "Channel1.Device1.Counter"
|
||||
assert config.tags[0].expect_change is True
|
||||
|
||||
Reference in New Issue
Block a user