71
70
self.assertCheck(check, 'charms index', 'Fail')
73
72
def test_check_api_pass(self):
76
76
self.index_client.index_charm(charm_data)
78
77
check = check_api(self.getRequest())
79
78
remark = 'Interesting has new, popular, and featured.'
80
79
self.assertCheck(check, 'API interesting', 'Pass', remark)
82
81
def test_check_api_missing_data_fail(self):
85
84
self.index_client.index_charm(charm_data)
86
85
# There are no featured or downloaded charms.