Exemplo n.º 1
0
 def test_get_tip(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_tip(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('tip', self.overrides, self.service,
                                                                   self.soa_dir)
Exemplo n.º 2
0
 def test_get_tip(self):
     with mock.patch(
         'paasta_tools.monitoring_tools.__get_monitoring_config_value',
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_tip(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with('tip', self.overrides, self.service,
                                                                   self.soa_dir)
Exemplo n.º 3
0
 def test_get_tip(self):
     with mock.patch(
         "paasta_tools.monitoring_tools.__get_monitoring_config_value", autospec=True
     ) as get_monitoring_config_value_patch:
         monitoring_tools.get_tip(self.overrides, self.service, self.soa_dir)
         get_monitoring_config_value_patch.assert_called_once_with(
             "tip", self.overrides, self.service, self.soa_dir
         )