Commit Graph

29 Commits

Author SHA1 Message Date
Dan Ryan 2a7cc26767 Fix broken tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 13:55:50 -05:00
Dan Ryan 66e9822d8a Potentialy speed up tests, decrease network calls"
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 13:32:34 -05:00
Chris Miller cba5a1efc6 Remove debug print from test. 2018-11-17 12:52:12 -05:00
Chris Miller 70f6bec85e Use cross platform Path compatibility module in test. 2018-11-16 13:33:22 -05:00
Chris Miller 65e49f1bff Print generated Pipfile during test to help debug failures. 2018-11-16 10:23:51 -05:00
Chris Miller db1eb1bacb Use correct Path module to get tests to work. 2018-11-16 10:23:51 -05:00
Chris Miller a95ce8bb32 Remove unnecessary test marks and imports. 2018-11-16 10:23:51 -05:00
Chris Miller 262293699e Fix race condition when installing 2+ editable non-VCS pkgs at once
This regression was recently introduced, and only affects non-vcs
packages. The effect of the race is that installations of multiple
editable non-VCS sourced packages at once may cause some of them to be
un-importable.

The fix is to make editable package installs Blocking just like VCS
installs are.
2018-11-16 10:23:51 -05:00
Dan Ryan fedda7f2c4 Clean up test 2018-09-05 12:47:10 +08:00
Mickaël Schoentgen 25a4b558cd Fix 2 ResourceWarning: unclosed file, in tests 2018-09-01 15:58:33 +02:00
Alexandros Tzannes 86bbec18d9 Factor-out decorators for class tests 2018-08-06 10:44:10 -07:00
Alexandros Tzannes dd3b210862 Wrap two tests and helpers in a class 2018-08-06 10:41:16 -07:00
Alexandros Tzannes 3cc02ebd5d Break dependency-links test into two separate tests
Use helper functions to reduce code duplication since these two tests
are quasi-identical
2018-08-06 10:30:04 -07:00
Alexandros Tzannes 210a9d46fb Add back git+ssh version of dep-links test
See if it fails n build Kite
2018-08-06 10:04:16 -07:00
Dan Ryan 0e7ddbccf3 Enable dependency link processing
- Use `PIP_PROCESS_DEPENDENCY_LINKS` to toggle the processing of dependency links
2018-08-05 02:49:18 -04:00
Alexandros Tzannes f1cb2287ab Add -v flag to get better insight when it fails 2018-08-03 15:05:56 -07:00
Alexandros Tzannes e47fd53f95 [fixup] skip the git+ssh deplink
test if the git+https test works on Build Kite
2018-08-03 15:05:56 -07:00
Alexandros Tzannes 83ca4fbbb3 Add test for setup.py::dependency-link field 2018-08-03 15:05:56 -07:00
kennethreitz d4ef122709 fix more tests 2018-07-03 19:56:06 -04:00
kennethreitz a230eb867e fix a test 2018-07-03 19:54:02 -04:00
Dan Ryan 39a363b780 Update references to Path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 22:28:31 -04:00
Tzu-ping Chung eafc97590d Fix docstrings that occurs in wrong places. 2018-06-25 00:55:42 +08:00
Dan Ryan 30b6425d57 Updated requirementslib and tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 23:35:35 -04:00
Dan Ryan 5d76b404f4 Add some tests
- the rest of the to-do items are at https://github.com/pypa/pipenv/projects/2
- We just need to review the items in the 'needs tests' column to ensure
  that they either have tests, or don't need to have tests
- If they need tests, and they don't yet have tests, we need to write
  them and make sure they pass
- Then we can release. No more features/bugfixes, this is now how it's
  going out.

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 03:01:20 -04:00
Dan Ryan 74430df2f3 Add tests to cover #2260
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 01:43:12 -04:00
Dan Ryan 18f6e94602 Fix iterator that i broke for reasons
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-13 19:26:16 -04:00
Dan Ryan ca05f2f3d6 Test fix and merge
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-13 11:49:17 -04:00
Tzu-ping Chung f730dd4899 Fix relative paths in tests 2018-04-12 17:48:53 +08:00
Tzu-ping Chung 4533e68bca Move things around 2018-04-12 17:35:17 +08:00