Marcus Smith
2e2ce0f4e9
break up tests dir into data, unit tests, and functional tests
2013-05-29 13:41:12 -07:00
Marcus Smith
6b5fd90af9
windows test fixes
2013-01-22 20:52:35 -08:00
Carl Meyer
469fa69793
Fix a couple tests that were too sensitive to how pip is installed.
2012-09-07 10:32:45 -06:00
Marcus Smith
cf23cb609f
regression test for issue #656
2012-09-04 12:40:50 -07:00
Marcus Smith
ab335810d2
fix test for no paths in uninstall set
2012-09-03 10:55:29 -07:00
Marcus Smith
0569324855
handle __pycache__ file removal
2012-08-18 15:26:17 -07:00
Paul Nasrat
57f9be568a
Issue #557 fix test failing on windows.
...
More path equality fun, use normpath to ensure path sep correct.
2012-07-29 10:40:14 +01:00
Carl Meyer
15d2944f02
Merge branch develop into feature/issue-355-safe-uninstall
2012-07-09 22:01:25 -06:00
Piet Delport
220cde1bab
Add a test for issue #355 .
2012-07-09 09:04:46 +02:00
Marcus Smith
dec32aba0b
use nose.tools.assert_raises
2012-06-25 23:37:23 -07:00
Marcus Smith
0e3c03f958
raise InstallationError when UninstallPathSet has no paths
2012-06-25 22:35:27 -07:00
Marcus Smith
1d1363b0fc
not expecting errors in these tests. let them pass errors.
2012-06-13 21:00:10 -07:00
Kamal Bin Mustafa
66ff8e0568
add test for --egg option
2012-05-22 18:54:40 +08:00
Paul Nasrat
2860dc7d41
Fix whitespace, etc for pep8 compliance
...
Reran tests after changes on 2.4, 2.6, 3.2 all pass.
=====================================================
================== Running pep8 =====================
Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.6.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to /Users/pnasrat/Development/pip/pip_virtualenv/bin
Using /Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.6/site-packages/pep8-0.6.1-py2.6.egg
Processing dependencies for pep8
Finished processing dependencies for pep8
==================== Ended pep8 =====================
=====================================================
2011-05-04 08:44:02 +01:00
Carl Meyer
7f93eb5246
Add missing rmtree import in test_uninstall.
2011-03-20 11:52:54 -04:00
Jannis Leidel
afc2464772
Make use of our own rmtree to work around an issue on Windows with readonly files.
2011-03-19 20:57:37 +01:00
Carl Meyer
f3fe9dd4be
Fixed syntax in test_uninstall for Python <2.6
2011-03-19 14:40:06 -04:00
Carl Meyer
ea6eb45c57
Test fixes for uninstall and vcs_backends on Python trunk.
2011-03-19 01:54:04 -04:00
Carl Meyer
12b77ae27a
Cleanup - may cause some additional test failures.
2011-03-18 20:31:36 -04:00
Vinay Sajip
680b5dfda0
Port to Python3
2011-03-15 15:49:48 -04:00
Hugo Lopes Tavares
ec76495f2c
work around to always remove temp files/dirs the test function creates
2010-09-13 02:21:10 -03:00
Hugo Lopes Tavares
67fd4dbcc4
splitted local_repo into `local_repo` and `local_checkout`: `local_repo` returns file://url, while `local_checkout` returns vcs+file://url and updated code used `local_repo` function
2010-06-21 19:48:28 -03:00
Hugo Lopes Tavares
0cca0d546e
added missing usage of local_repo to tests/test_uninstall.py
2010-06-21 13:23:25 -03:00
Carl Meyer
f41a4a520e
expect stderr output when installing some packages via setuptools; needed for tests to pass on Python 2.7rc1
2010-06-05 23:35:00 -04:00
Hugo Lopes Tavares
ab3ea6ec51
removed unused vars and imports
2010-06-03 21:58:16 -03:00
Hugo Lopes Tavares
d06c98dc6f
merged changes related to PEP 8 from hltbra's fork
2010-06-02 23:25:26 -03:00
Hugo Lopes Tavares
5618ec1634
changed all inline if/else to "and/or" trick, because inline if/else is not python2.4 compatible
2010-05-26 09:06:27 -03:00
Dave Abrahams
96962d5322
Eliminated all direct uses of diff_states, instead using a new
...
assert_all_changes, which DRY's things out substantially
2010-05-02 22:08:03 -04:00
Dave Abrahams
9ad75fe6ba
Rationalized and cleaned up use of relative/absolute paths in TestPipEnvironment
...
In test_freeze.py:test_freeze_bazaar_clone, invoke python without qualification
Removed flotsam and jetsam
2010-05-02 14:11:45 -04:00
Dave Abrahams
06a2b7a09d
Some windows portability, better diagnostics
2010-05-02 12:18:51 -04:00
Dave Abrahams
17bdab0f1c
Adusted a few assertions pending a rewrite of testing infrastructure
2010-04-29 10:28:59 -04:00
Dave Abrahams
cf23282488
Various fixes to the portable test code that I missed the last time around
2010-04-29 08:36:58 -04:00
Dave Abrahams
46c7d66aaf
Various fixes to implementation and uses of assert_installed.
...
Factored out assert_installed() to handle common post-installation checks
2010-04-28 16:55:10 -04:00
Francesco
016019bfc0
6/8 tests pass, still two failures
2010-04-15 01:33:32 +02:00
Dave Abrahams
7dbdbd8739
Merged winfix branch and fixed the glaring mistakes so the tests still pass on *nix
2010-04-10 16:41:27 -04:00
Carl Meyer
c6aa0bd497
ignore -f, -i, etc when uninstalling from reqs file
2010-04-16 11:53:04 -04:00
Carl Meyer
0e8230bb2b
fix uninstall-from-outside-editable test; some hg versions can't clone into existing dir. Thanks Dave Abrahams.
2010-04-12 21:26:42 -04:00
Carl Meyer
4ee7604e4a
fix test runner to operate fully within no-site-packages virtualenv; thanks Dave Abrahams for initial patch
2010-04-12 20:48:37 -04:00
Carl Meyer
4060b810c5
fix test names, remove old doctest files
2010-02-24 18:16:43 -05:00
Jakub Vysoky
a244ee966f
test_uninstall.txt into py
2010-02-24 11:24:55 +01:00