def test_apod_endpoint_notags(self): r = apod.apod(date="2015-02-02") self.assertEqual(r.status_code, 200) sleep(2)
def test_apod_endpoint_noargs(self): # no tags should pass , as no date defaults to today r = apod.apod() self.assertEqual(r.status_code, 200) sleep(2)
def test_apod_endpoint_full(self): r = apod.apod(date="2015-02-02", concept_tags=True) self.assertEqual(r.status_code, 200) sleep(2)