diff --git a/test/Client.py b/test/Client.py index 3b3fc046c02bb0a83d0de544c2cee1fe5e34797c..edc0a9cabf0f1b753d17c550154ed3e6ef879370 100755 --- a/test/Client.py +++ b/test/Client.py @@ -3,12 +3,13 @@ import sys import time import logging +from opcua import Client +from opcua import ua + host = "localhost" port = 62000 -sys.path.insert(0, "..") - Temp_only = True try: @@ -22,9 +23,6 @@ except ImportError: shell = code.InteractiveConsole(vars) shell.interact() -from opcua import Client -from opcua import ua - def datachange_notification(self, node, val, data): print("Python: New data change event", node, val) diff --git a/test/MCU_debug_access.py b/test/MCU_debug_access.py index ae31e39eaf5e84dd8442b3fb3dcf3877d36470e0..f2e21208ebf016134fba728065ff24a818ee3765 100755 --- a/test/MCU_debug_access.py +++ b/test/MCU_debug_access.py @@ -8,14 +8,11 @@ import sys import time import logging +from opcua import Client host = "localhost" port = 62000 -sys.path.insert(0, "..") - -from opcua import Client - if __name__ == "__main__": logging.basicConfig(level=logging.WARNING) #INFO ERROR WARNING NOTSET DEBUG diff --git a/test/MnC_client.py b/test/MnC_client.py index 7c54ae3c61899badceae6001a20b58dcc907817a..3258b54f3870cce01fb6def8051218e469633f16 100755 --- a/test/MnC_client.py +++ b/test/MnC_client.py @@ -5,13 +5,12 @@ import sys import time import datetime import logging +from opcua import Client +from opcua import ua host = "localhost" port = 62000 -sys.path.insert(0, "..") - - try: from IPython import embed except ImportError: @@ -23,8 +22,6 @@ except ImportError: shell = code.InteractiveConsole(vars) shell.interact() -from opcua import Client -from opcua import ua class SubHandler(object):