fdintino/pip — pull request #1 by ejucovy (2012-07-02 14:00:45+00:00)
Title: Add tests for recursive upgrade behaviors

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.