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)
def send_ph(self): logging.debug('GetSendPh') sender = Sender() sender.send_ph(self.ph)