diff --git a/jenkins_pipelines/scripts/SUSEManager_cleaner/tests/test_main_program.py b/jenkins_pipelines/scripts/SUSEManager_cleaner/tests/test_main_program.py index 9b150803c..a8ce69c1d 100644 --- a/jenkins_pipelines/scripts/SUSEManager_cleaner/tests/test_main_program.py +++ b/jenkins_pipelines/scripts/SUSEManager_cleaner/tests/test_main_program.py @@ -81,7 +81,7 @@ def test_update_custom_repositories_mode(self, MockSSHClientManager, MockResourc main() # Check copy_file is called with the correct arguments - mock_ssh_manager.copy_file.assert_called_once_with("", "/root/spacewalk/testsuite/features/upload_files/custom_repositories.json") + mock_ssh_manager.copy_file.assert_called_once_with("./custom_repositories.json", "/root/spacewalk/testsuite/features/upload_files/custom_repositories.json") mock_ssh_manager.close.assert_called_once() if __name__ == "__main__":