Пример #1
0
 def __init__(self):
     self.my_serial = serial_manager.SerialSetup()
     self.my_device = serial_manager.SerialData()
     self.parser = reqparse.RequestParser()
     self.parser.add_argument('serial_device',
                              help='串口数据设置',
                              location='json')
Пример #2
0
 def setUp(self):
     self.client = get_test_client()
     self.my_serial_setting = serial_manager.SerialSetup()
     self.my_serial_data = serial_manager.SerialData()
Пример #3
0
 def setUp(self):
     self.my_ser = serial_manager.SerialSetup()
     self.my_data = serial_manager.SerialData()
Пример #4
0
 def setUp(self):
     self.my_serial = serial_manager.SerialSetup()
     self.my_data = serial_manager.SerialData()
     self.my_response = serial_manager.ResponseRequests(
         self.my_serial.get_serial())
     pass
Пример #5
0
 def setUp(self):
     self.my_ser = serial_manager.SerialSetup()
Пример #6
0
 def __init__(self):
     self.my_serial = serial_manager.SerialSetup()
     self.my_device = serial_manager.SerialData()
     self.parser = reqparse.RequestParser()
     self.parser.add_argument('serial_service')
Пример #7
0
 def __init__(self):
     self.my_serial = serial_manager.SerialSetup()
     self.my_device = serial_manager.SerialData()