def OnIssueUpdated(self): monitoring.OnIssueChange('update', 'flake')
def testOnIssueChange(self, mock_common_monitoring): monitoring.OnIssueChange('operation', 'category') parameters = {'operation': 'operation', 'category': 'category'} mock_common_monitoring.assert_called_once_with(parameters)
def OnIssueCreated(self): monitoring.OnIssueChange('created', 'flake')