Skip to content

Commit

Permalink
Update unit test for update custom repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
maximenoel8 committed Nov 6, 2024
1 parent 1f803fd commit 80548ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit 80548ee

Please sign in to comment.