def METHOD_NAME(self):
    r = self.session.get(self.url("/api/v1/servers/localhost/statistics?statistic=uptime"))
    self.assert_success_json(r)
    data = r.json()
    self.assertIn('uptime', [e['name'] for e in data])