コード例 #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)
コード例 #2
0
def IterSystemHealthBots():
  description = dashboard_service.Describe('memory.top_10_mobile')
  for bot in description['bots']:
    if 'Internal' not in bot:
      continue
    if 'low-end' in bot or '512' in bot:
      continue
    yield bot.replace(':', '/')
コード例 #3
0
def GetEmergingMarketStories():
    description = dashboard_service.Describe('system_health.memory_mobile')
    return description['caseTags']['emerging_market']