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)
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 )