8000 test(phase2): RealRepoIntegration coverage to 90% by dominicusin · Pull Request #52 · dominicusin/package-maximizer · GitHub
[go: up one dir, main page]

Skip to content

test(phase2): RealRepoIntegration coverage to 90% - #52

Merged
dominicusin merged 1 commit into
mainfrom
fix/phase2-integrations
Aug 31, 2026
Merged

dominicusin merged 1 commit into
mainfrom
fix/phase2-integrations

Conversation

@dominicusin
Copy link
Copy Markdown
Owner

Этап 2 стратегического плана — покрытие integrations/real_repo_integration.py (было 41% -> 90%).

tests/test_integrations_real_repo.py: параметризованные mock-тесты subprocess.run для всех 4 менеджеров (apt/pacman/dnf/brew) по всем методам:

  • get_installed_packages / search_packages / get_package_info / get_available_updates
  • success, FileNotFoundError, TimeoutExpired, nonzero returncode
  • неизвестный менеджер -> пустые результаты
  • RepoConfig.get_parser маппинг, PackageInfo.to_package, check_package_installed, get_system_info

Без реальных вызовов пакетных менеджеров (subprocess замокан).

🤖 Generated with Claude Code

@qodo-code-review
Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai
coderabbitai Bot commented Aug 31, 2026
Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 3 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fe674fb5-afac-4a93-98c7-fa95f8f321ef

📥 Commits

Reviewing files that changed from the base of the PR and between 92012d1 and 25980ec.

📒 Files selected for processing (1)
  • tests/test_integrations_real_repo.py

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dominicusin
dominicusin merged commit fc62f87 into main Aug 31, 2026
16 of 17 checks passed
@dominicusin
dominicusin deleted the fix/phase2-integrations branch August 31, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0