Commit Graph

8 Commits

Author SHA1 Message Date
Vineet 617c46e889 Add tests for function 'peek_into' 2014-10-07 23:28:25 +05:30
Vineet 717e07d492 Move cyclic_deps.pickle inside tests/virtualenvs
for consistency
2014-06-22 21:31:35 +05:30
Marc Abramowitz fd0c477192 Restore Python 2.6 compatibility
c70525bb84 broke Python 2.6 compatibility
by using a dict comprehension, which is a Python 2.7 feature. I replaced
it with calling dict with a generator expression, which looks almost as
good and it works in Python 2.6.
2014-06-17 23:06:46 -07:00
Vineet c70525bb84 Fix failing tests
The tests were failing due to pull requests #14 and #16, which passed tests
individually but lead to failure after both were merged.
2014-06-18 10:28:15 +05:30
Marc Abramowitz b6eea3084a Add test_render_tree_cyclic_dependency
Test for issue in #13 (https://github.com/naiquevin/pipdeptree/issues/13)
2014-06-16 10:05:30 -07:00
Marc Abramowitz b94fabc8dc Workaround for pip issue 1867
https://github.com/pypa/pip/issues/1867

When hash randomization is enabled, pip can return different names for
git editables from run to run.

This change accounts for that in the tests for freezed output.
2014-06-16 07:50:16 -07:00
Vineet 6d094a049c Resolve merge conflicts 2014-06-14 23:44:16 +05:30
Marc Abramowitz 32c30cb800 Switch from nose to pytest
Nicer output when asserts fail

Also more actively maintained and more flexible (e.g.: fixtures,
conftest.py)
2014-06-12 15:55:52 -07:00