Skip to content
Snippets Groups Projects
Commit 7c45fee9 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2829: logging

parent 02a77b21
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ class TestCopyService(unittest.TestCase):
def setUp(self):
def mocked_wrap_command_in_cep4_head_node_ssh_call(cmd, *args, **kwargs):
logger.info('mocked_wrap_command_in_cep4_head_node_ssh_call returning original command (without ssh): %s', ' '.join(cmd))
logger.info('mocked_wrap_command_in_cep4_head_node_ssh_call returning original command (without ssh): %s', cmd)
return cmd
wrap_command_in_cep4_head_node_ssh_call_patcher = mock.patch('lofar.sas.tmss.services.copy_service.wrap_command_in_cep4_available_node_with_lowest_load_ssh_call')
self.addCleanup(wrap_command_in_cep4_head_node_ssh_call_patcher.stop)
......@@ -74,7 +74,7 @@ class TestCopyService(unittest.TestCase):
self.wrap_command_in_cep4_head_node_ssh_call_mock.side_effect = mocked_wrap_command_in_cep4_head_node_ssh_call
def mocked_wrap_command_in_ssh_call(cmd, *args, **kwargs):
logger.info('wrap_command_in_ssh_call returning original command (without ssh): %s', ' '.join(cmd))
logger.info('wrap_command_in_ssh_call returning original command (without ssh): %s', cmd)
return cmd
mocked_wrap_command_in_ssh_call_patcher = mock.patch('lofar.sas.tmss.services.copy_service.wrap_command_in_ssh_call')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment