Exemplo n.º 1
0
 def testDescribe(self):
     self.assertEqual(dashboard_service.Describe('my_test'), 'OK')
     self.mock_request.assert_called_once_with(
         dashboard_service.SERVICE_URL + '/describe',
         method='POST',
         params={'test_suite': 'my_test'},
         use_auth=True,
         accept='json')
Exemplo n.º 2
0
def GetV8BrowsingMobile():
  # The describe API doesn't currently work with v8.browsing_mobile, so use
  # system_health.memory_mobile instead since it has the same test cases.
  description = dashboard_service.Describe('system_health.memory_mobile')
  return description['cases']
Exemplo n.º 3
0
def GetHealthCheckStories():
  description = dashboard_service.Describe('system_health.common_mobile')
  return description['caseTags']['health_check']
Exemplo n.º 4
0
def GetEmergingMarketStories():
  description = dashboard_service.Describe('system_health.memory_mobile')
  return description['caseTags']['emerging_market']