Пример #1
0
 def btest_sender_ph_3(self):
     logging.info('pH sending test')
     sender = Sender()
     response = sender.send_ph(3)
     logging.info('pH sent. Response: %s' % response.status_code)
     self.assertEqual(201, response.status_code)
Пример #2
0
 def send_ph(self):
     logging.debug('GetSendPh')
     sender = Sender()
     sender.send_ph(self.ph)