コード例 #1
0
 def test_get_ticket(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_ticket(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('ticket', self.overrides, self.service,
                                                                   self.soa_dir)
コード例 #2
0
 def test_get_ticket(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_ticket(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('ticket', self.overrides, self.service,
                                                                   self.soa_dir)
コード例 #3
0
 def test_get_ticket(self):
     with mock.patch(
         "paasta_tools.monitoring_tools.__get_monitoring_config_value", autospec=True
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_ticket(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with(
             "ticket", self.overrides, self.service, self.soa_dir
         )