def testOnFlakeDetectionCreateOrUpdateIssues(self, mock_common_monitoring): monitoring.OnFlakeDetectionCreateOrUpdateIssues('create') parameters = { 'operation': 'create', } mock_common_monitoring.assert_called_once_with(parameters)
def OnIssueUpdated(self): monitoring.OnFlakeDetectionCreateOrUpdateIssues('updated')