def __init__(self, proxy: CoapProxy, udp_server: UDPServer):
     super().__init__()
     self.proxy = proxy
     self.udp_server = udp_server
     self.q = Queue()
     self.processing_lock = threading.Lock()
     self.stop_event = threading.Event()  # used to signal termination to the threads
     self.status = AutomationStatus()
Beispiel #2
0
 def __init__(self, iut, tester_config):
     super().__init__()
     self.iut = iut
     self.tester_config = tester_config
     self.test_case_handler = TestCaseHandler(self.tester_config)
     self.q = Queue()
     self.processing_lock = threading.Lock()
     self.stop_event = threading.Event(
     )  # used to signal termination to the threads
     self.status = AutomationStatus()
Beispiel #3
0
 def __init__(self):
     super().__init__()
     self.q = Queue()
     self.processing_lock = threading.Lock()
     self.stop_event = threading.Event()  # used to signal termination to the threads
     self.status = AutomationStatus()
     if btmon_enable:
         self.btmon = None
         self.btmon_process = None
         self.max_btmon_tries = 10
     self.result_path = None
     self.test_path = None
     self.newtmgr = None
     self.rtt2pty = None
Beispiel #4
0
 def get_status(self):
     s = self.status
     self.status = AutomationStatus()
     return s