Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for recursive upgrade behaviors #1

Conversation

ejucovy
Copy link

@ejucovy ejucovy commented Jul 2, 2012

This pull request adds tests to your fix-recursive-upgrades branch.

There are currently four new tests I've added:

  • test_upgrade_without_unneeded_recursive_upgrades() tests the core behavior, which is currently buggy in pip. This test would fail on pypa/develop. It passes on your branch.
  • test_upgrade_with_needed_recursive_upgrades() tests the flip side of the core behavior -- whether recursive dependencies ARE upgraded when it's necessary. It passes on pypa/develop and also passes on your branch.
  • test_upgrade_with_unneeded_recursive_upgrades_explicitly_requested() tests the new --upgrade-recursive feature you implemented. It passes on your branch.
  • test_upgrade_reqs_file_without_unneeded_recursive_upgrades() tests --upgrade against a requirements file. It fails on your branch: it only upgrades the first listed package in a requirements file. The same behavior would pass on pypa/develop, so this is a regression that needs to be addressed.

fdintino added a commit that referenced this pull request Jul 2, 2012
Add tests for recursive upgrade behaviors
@fdintino fdintino merged commit 43bb491 into fdintino:fix-recursive-upgrades Jul 2, 2012
fdintino pushed a commit that referenced this pull request Nov 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants