def test_get_notification_email(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_notification_email(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('notification_email', self.overrides,
                                                                   self.service, self.soa_dir)
Beispiel #2
0
 def test_get_notification_email(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_notification_email(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('notification_email', self.overrides,
                                                                   self.service, self.soa_dir)