Commit Graph

2 Commits

Author SHA1 Message Date
Vineet Naik c26603865d Implement 'ReversedPackageDAG.reverse' method
While this method is not being used in the script, it's been added for
completeness and to ensure that the APIs of all the classes involved
are clean.

Also, the 'DistPackage.as_required_by' method has been renamed to
'DistPackage.as_parent_of' for clarity.

Tests have been added and modified.
2020-04-14 19:15:52 +05:30
Vineet Naik 4b74f7b4fe Rename 'test_pipdeptree.py' to 'test_integration.py'
So that a new 'test_pipdeptree.py' can be added for unit tests (with
mocking etc.).

Integration test suite will still be run during 'make test' but the
state of the test suite is pretty bad at present. In future, we might
replace it with a complete approach for easy maintenance.
2019-07-13 13:28:22 +05:30