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')
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']
def GetHealthCheckStories(): description = dashboard_service.Describe('system_health.common_mobile') return description['caseTags']['health_check']
def GetEmergingMarketStories(): description = dashboard_service.Describe('system_health.memory_mobile') return description['caseTags']['emerging_market']