def test_metrics(self):
request = {
'start_date': '2017-01-21',
'end_date': '2017-01-22'
}
try:
response = self.client.request_json('Metrics', 'POST', request)
pprint.pprint(response)
except HttpException as ex:
if ex.code == httplib.NOT_FOUND:
print "No metrics loaded"
else:
raise
评论列表
文章目录