Repository navigation
fix: virtctl_binary fixture downloads to pytest temp directory - #267
Conversation
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
Caution Review failedThe pull request is closed. WalkthroughThe changes refactor the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Update virtctl_binary fixture to use tmp_path_factory for automatic cleanup - Make download_dir a required parameter in download_virtctl_from_cluster - Remove trivial _get_virtctl_download_dir helper function - Use ensure_exists=True for ConsoleCLIDownload resource - Access links as attribute instead of .get()
|
/verified |
…ue-266-virtctl-temp-dir
|
Failed to build and push ghcr.io/redhatqe/mtv-api-tests:latest |
Summary
virtctl_binaryfixture to use pytest'stmp_path_factoryfor temporary file managementdownload_dira required parameter indownload_virtctl_binary()(removed/tmpfallback)_get_virtctl_download_dirhelper functionensure_exists=TrueforConsoleCLIDownloadresourcelinksas attribute instead of.get()Test plan
Closes #266
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.