1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

575 commits

Author SHA1 Message Date
Dave Abrahams 167912c9cc Fix nonportable assertion for win32 2010-05-18 14:34:00 -04:00
Dave Abrahams 8992e6bde7 Neutered broken test_freeze_with_local_option test (see http://bitbucket.org/ianb/pip/issue/110) 2010-05-03 12:06:31 -04:00
Dave Abrahams 81ced37b5a Repair the test_uninstall_rollback test
I had missed an alteration in the pattern used with diff_files, and
the method used to calculate the target path for rollback was broken
on Windows.
2010-05-03 00:39:04 -04:00
Dave Abrahams 20ff4714b9 Missed Win32 portability opportunity 2010-05-03 00:03:28 -04:00
Dave Abrahams 0a7dc14a42 Snarky note about sloppy check 2010-05-02 22:29:38 -04:00
Dave Abrahams 770930d555 Correct slash direction for .pth files on Windows 2010-05-02 22:27:33 -04:00
Dave Abrahams f9d479c5d5 Recent Microsoft compilers generate manifest files that must be uninstalled along with their .EXEs 2010-05-02 22:22:27 -04:00
Dave Abrahams 4b2eedc50a On Windows, .pth files must be saved in binary mode ('wb')
...because they are written by easy_install with Unix line
endings (\n) there and if we write DOS line endings (\r\n) as 'w'
does, our uninstall tests that check for complete rollback of
easy-install.pth fail.
2010-05-02 22:18:41 -04: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 23d3d0fdb4 Fix the first freeze test for Windows. Still not sure what's going on with wsgiref 2010-05-01 22:16:30 -04:00
Dave Abrahams 465c9d0e9f make sure TestPipResult's __str__ also converts newlines 2010-05-01 18:09:45 -04:00
Dave Abrahams 60ddf57ae9 Factored DOS-newline-handling into test_pip.py; since it applies everywhere now, that should fix the last of the Windows failures! 2010-05-01 17:34:06 -04:00
Dave Abrahams 4bcfe6bd15 test_bundle now passes on windows 2010-05-01 11:12:14 -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 2edbb3f0b7 purged last use of base_path 2010-04-29 10:10:09 -04:00
Dave Abrahams fd474f6846 Need to forward __str__ explicitly because str(result) is used in many tests 2010-04-29 10:04:49 -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
Dave Abrahams 55fc4610be Testing sanity checks (e.g. test_correct_pip_version) now pass on all target platforms. 2010-04-28 11:41:55 -04:00
Dave Abrahams e9bbd2a2a6 Added normcase support and choose base class appropriately to
os.path's notion of unicode support
2010-04-24 03:18:12 -04:00
Dave Abrahams 75e399f56c calculate site-packages location portably
Uninstall virtualenv's pip in a way that works on Windows, i.e. not
using the executable that's being uninstalled and not using the code
that comes with virtualenv, which is broken.

Add '-' to Path for relative path calculation

Silence virtualenv preparation

Encourage earlier GC of the last TestPipEnvironment, which was
happening too late
2010-04-24 03:13:54 -04:00
Dave Abrahams b32d6f4798 Use portable path manipulations for Windows portability 2010-04-24 03:06:42 -04:00
Dave Abrahams bf91cac1ad still some failure in test_freeze 2010-05-15 05:51:08 -06:00
Francesco bfc40f08de All test_upgrade test pass 2010-04-15 23:54:36 +02:00
Francesco 016019bfc0 6/8 tests pass, still two failures 2010-04-15 01:33:32 +02:00
Francesco 461b64965a fix issue 1 http://github.com/ryppl/pip/issues#issue/1 2010-04-15 00:00:01 +02:00
Francesco 9cce7145e4 test requirements pass (fixed the wildcard match, lib/python ->
env/lib/python)
2010-04-14 00:24:22 +02:00
Francesco cf1077371e freeze git clone test pass (output didn't exactly match) 2010-04-13 22:49:08 +02:00
Francesco 9ed09e69da removed lib_py, use env instead. download test pass 2010-04-13 01:40:56 +02:00
Francesco d4b98294ee bundle creation test pass 2010-04-13 01:20:02 +02:00
Francesco 30dfb77ac9 bazaar test passes - all test pass 2010-04-13 00:34:38 +02:00
Francesco c2f80a9b20 clone from mercurial pass 2010-04-13 00:23:04 +02:00
Francesco 93dc28129d git test pass 2010-04-13 00:17:52 +02:00
Dave Abrahams a4d0abbeb9 Do all testing in temp directories so testing needn't modify the source tree. This breaks most tests until we update them. 2010-04-27 11:35:48 -04:00
Dave Abrahams 0702303788 Make sure logfile directory exists before writing a log there 2010-04-26 03:53:17 -04:00
Dave Abrahams b335d71944 Make sure uninstallation target directory exists before moving files there 2010-04-26 03:52:46 -04:00
Dave Abrahams 70914986ec virtualenv_bin_dir is obsolete 2010-04-26 03:50:02 -04:00
Dave Abrahams 4988214ace Added path.py from http://github.com/azizk/dil to make everything else
smoother

I had written something like this myself recently, only it was not
nearly as good, and besides, I can't find it anymore :-)
2010-04-12 15:54:37 -04:00
Dave Abrahams 8aee621d3f Introduce TestPipEnvironment as part of doing windows portability 2010-04-26 04:18:52 -04:00
Dave Abrahams 967a2180b8 Replaces Ian's fix for #98 with mine; all part of getting a clean commit history
Make sure tests can find pip's sources.
  Fixes #98 (http://bitbucket.org/ianb/pip/issue/98)
2010-04-26 02:52:46 -04:00
Dave Abrahams a84fff3931 Derive paths from virtualenv instead of hard-coding 2010-04-25 23:40:27 -04: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
Dave Abrahams 2a71f7fcd9 fixes #88 (http://bitbucket.org/ianb/pip/issue/88) 2010-04-28 20:43:04 -04:00
Carl Meyer c08009907b put current pip on sys.path for tests; fixes #98; thanks Dave Abrahams 2010-04-26 20:05:58 -04:00
Ian Bicking cb6ef0f234 doc uploading updates 2010-04-22 03:12:33 -05:00
Ian Bicking 1654cef71a title changes 2010-04-22 03:07:57 -05:00
Ian Bicking 35f159aa4f note ScriptTest version requirement in news 2010-04-22 03:05:17 -05:00
Ian Bicking a8309e10dc Added tag 0.7.1 for changeset be6a59b56a67 2010-04-22 02:57:46 -05:00