SIENTIAPDE-1312
Enhance type hinting in test_orchestrator_functions.py by specifying the type of slot_config as a dictionary for improved code clarity.
This commit is contained in:
@@ -251,7 +251,7 @@ def test_gather_read_tags():
|
||||
def test_build_tag_config():
|
||||
tag = {'server_id': '1', 'server_name': 'test_server_name', 'tag_address': 'test_tag_address'}
|
||||
opc_servers = {'1': {'server_name': 'test_server_name', 'url': 'test_url', 'uri': 'test_uri'}}
|
||||
slot_config = {'1': {}}
|
||||
slot_config: dict = {'1': {}}
|
||||
i = 1
|
||||
result = build_tag_config(tag, slot_config, opc_servers, i)
|
||||
expected = {
|
||||
|
||||
Reference in New Issue
Block a user