Dan Ryan
7f26c16102
Update test to not test for anything like cli arg
...
- Use a clearly unparseable package name instead
2017-11-15 19:05:00 -05:00
Dan Ryan
28907ef29c
Stop writing unparseable requirements to Pipfiles
...
- Add better exception handling and error messaging for parse errors
- Add test to verify this is now being handled correctly
- Fixes #1056
2017-11-14 21:11:11 -05:00
Dan Ryan
2b1e1607f3
Fix missing commit from tests
...
* everything else is good to go (verified)
* Fixes #949 , #939 , #817 , #914 , #1012 , #1028 , #1025 , #960 , #1043 , #1045
2017-11-14 12:35:15 -05:00
Dan Ryan
d320bc4b1e
Fix local and relative path installation
...
Summary of squashed commits:
* Handle relative paths more elegantly
* Wrapper around requirements.parse() for filesystem paths
* Undo previous hacks for simplicity
* Vendor pathlib2 for backwards compatibility
* Resolve relative paths for parsing, keep them relative in pipfile
* Add checks for empty req names and remote uris
* Add tests for local paths
* Fix test paramaterization
* Bugfixes for python27 and windows paths
* Fix windows tests
* Fix windows tests for python27 path encoding
* Re-vendor pathlib2 correctly
* Fix tests for windows paths
* Fix file and path checking
* Fix SCHEME_LIST rename
* Fix path resolution to check existence first
* Catch OSErrors for unpinned dependencies
* Last holdout of FILE_LIST conversion
* Fix for path resolution for unpinned packages
* Dont do path conversions on dictionaries
* Update docstring and comments
Signed-off-by: Dan Ryan <dan@danryan.co >
2017-11-14 00:39:57 -05:00
Dan Ryan
f1e98c5e52
Add tests for is_vcs changes to prevent regression
...
- Fix vcs test for git+git syntax
2017-11-04 21:41:34 -04:00
Erin O'Connell
b4336df8cd
fixed a syntax error
2017-10-29 15:30:38 -06:00
Erin O'Connell
c95da26ce0
Added checks to ensure non dev packages aren't removed
2017-10-29 15:20:50 -06:00
Erin O'Connell
dda74142d4
Spell stuff correctly
...
Merge branch 'issue-873' of github.com:kennethreitz/pipenv into issue-873
2017-10-29 14:16:21 -06:00
Erin O'Connell
546f5494eb
added test for new uninstall --all-dev flag
2017-10-29 14:04:48 -06:00
Hamad AlGhanim
bb5c6c4aee
test for installing from remote file ( #950 )
...
adding test for remote requirment
2017-10-26 08:57:06 -07:00
Nate Prewitt
ad4fd824bf
Revert "Fix #973 Fails if two conflicting "requires" sections are present."
2017-10-25 14:54:18 -07:00
Miroslav Zoricak
b3093368a9
Fix #973 Fails if two conflicting "requires" sections are present.
...
Add a more explicit error message if a section of the Pipfile is duplicated
2017-10-25 21:49:13 +02:00
Erin O'Connell
e5da54ba57
updated test for new lock -r functionality
2017-10-25 01:14:43 -06:00
Nate Prewitt
3688148ac7
add requirements.txt for testing
2017-10-21 15:09:24 -07:00
Nate Prewitt
090f01cb51
Merge pull request #904 from vphilippon/reversed-dependency-graph
...
Add pipenv graph --reverse
2017-10-18 18:14:57 -07:00
Vincent Philippon
0490d82272
Add pipenv graph --reverse
...
Outputs the reversed dependencies graph.
Ex:
requests==2.18.4
- lib_with_good_taste==1.0.0 [requires requests>=2.18]
- package_using_lib_with_good_taste==1.2.3 [requires lib_with_good_taste]
2017-10-18 19:29:45 -04:00
Hamad AlGhanim
9c4b68605c
fix for #925 ( #930 )
...
* fix for adding newline
* added test to ensure fix #925
2017-10-18 10:07:17 -07:00
Hamad alghanim
ee9c012d0c
added test for remote req file utils
2017-10-18 08:33:15 -07:00
Erin O'Connell
153f15847c
Merge pull request #893 from techalchemy/bugfix/windows-path-quoting
...
Add fix for windows paths
2017-10-17 22:54:24 -07:00
Erin O'Connell
898770e23a
Merge pull request #895 from techalchemy/bugfix/windows-ignore-venv-shell
...
Shells with PIPENV_IGNORE_VIRTUALENVS on win
2017-10-17 22:53:35 -07:00
Kris
025972c792
Simplify test
2017-10-17 22:12:17 -04:00
Kris
ccebde4e26
Add failing test
2017-10-17 16:54:33 -04:00
Dan Ryan
aeafce54a6
Add tests for windows paths with spaces
2017-10-15 19:45:54 -04:00
Dan Ryan
26cd52bccc
Fix tests for windows venv nested shells
2017-10-14 03:07:20 -04:00
Dan Ryan
f7f16d1e3b
Add tests for nested venvs on windows
2017-10-13 23:50:49 -04:00
Dan Ryan
19f7056d2c
Use context managers for test environment vars
2017-10-13 20:34:01 -04:00
Yannick PEROUX
9b8c86481c
Add regression tests for #887
2017-10-12 17:21:36 +02:00
Dan Ryan
e12002bcc8
Update tablib to pypi sourced blob
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2017-10-11 23:28:52 -04:00
Dan Ryan
ac33b55a64
Add zip artifact and comments
2017-10-11 19:30:38 -04:00
Dan Ryan
5dd38a1838
Introduces a test for PR #818 and issue #817 local sdists
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2017-10-09 21:03:26 -04:00
Dan Ryan
946e16653b
Add vcs tests to account for changes in #807
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2017-10-07 00:48:57 -04:00
Kris
aa733275d2
Add check unused test for mapped package name
2017-10-04 14:32:12 -04:00
Erin O'Connell
5a297c094b
more flake 8
2017-10-03 23:29:11 -06:00
Erin O'Connell
2d1a0e0602
flake 8 stuff for the main test suite
2017-10-03 23:29:01 -06:00
Erin O'Connell
63331fa53e
fixed pep8 errors from flake8 for legacy tests
2017-10-03 23:27:16 -06:00
Peter Schutt
bd23eb0ea0
reduced number of packages to improve run time
2017-10-01 12:52:05 +00:00
Peter Schutt
12271b5d4e
add test for sequential update mode
2017-10-01 12:43:47 +00:00
kennethreitz
e78d4caff3
improve the test
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-30 08:27:39 -04:00
Erin O'Connell
748b849273
let's get green again
2017-09-29 19:29:53 -06:00
kennethreitz
f7a01a284c
test for #772
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-29 08:13:50 -04:00
kennethreitz
9c903d9c22
oops
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-28 16:13:21 -04:00
kennethreitz
b5afeacd3d
maya test
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-28 16:12:42 -04:00
kennethreitz
107f778266
test deploy works
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-27 20:48:15 -04:00
kennethreitz
1da07992db
delete a wonky test
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-27 12:42:48 -04:00
Erin O'Connell
f4f0187e2e
Revert "enable a test"
...
This reverts commit f60385e6c9 .
2017-09-27 00:43:43 -06:00
Erin O'Connell
f60385e6c9
enable a test
2017-09-27 00:32:50 -06:00
Erin O'Connell
a036e73c4a
only run tests on unix
2017-09-26 23:56:04 -06:00
Erin O'Connell
a950e13be0
more coverage
2017-09-26 23:45:33 -06:00
Erin O'Connell
9dac920ddf
re-enable some tests and add 2 for new cli arguments
2017-09-26 23:40:13 -06:00
kennethreitz
f48b33071c
god these tests are the worst
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-25 17:47:28 -04:00