def test_create_channel(self): ts = pythingspeak.ThingSpeak(channel_id=59596, api_key='ISXCEH1JHRQR85O4') results = ts.create_channel() self.assertTrue(results)
def test_update(self): ts = pythingspeak.ThingSpeak(channel_id=59596, api_key='ISXCEH1JHRQR85O4') results = ts.update([1, 2]) self.assertTrue(results)
def test_list_my_channels(self): ts = pythingspeak.ThingSpeak(channel_id=59596, api_key='ISXCEH1JHRQR85O4') results = ts.list_my_channels() self.assertTrue(results)
def test_last_field(self): ts = pythingspeak.ThingSpeak(channel_id=59596, api_key='ISXCEH1JHRQR85O4') results = ts.last_field(1) self.assertTrue(results)