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
d93d571d5e
Merge branch 'master' into test/deplinks
2018-08-05 02:56:01 -04: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
0081918e63
Skip some tests if we have not set-up SSH keys for GitHub
2018-08-03 16:20:59 -07:00
Alexandros Tzannes
8f1d99256c
Skip git+ssh test until we configure BildKite to have an SSH key-pair
2018-08-03 15:21:33 -07: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
Alexandros Tzannes
f65c0dfd63
Adding some git+git and git+ssh tests as examples
2018-08-03 15:05:29 -07:00
MarkKoz
96fec11b29
Fix virtualenv creation failure when a .venv file exists
2018-08-02 21:56:41 -07:00
Michael Hoang
0969a9ee67
Properly handle the first source having user/pass
2018-07-31 22:58:54 -04:00
Louie Lu
79349dd8f1
Addressed uranusjr comments
2018-07-30 12:22:52 +08:00
Louie Lu
553ed8258c
Add JSONDecodeError handling for get_lockfile_hash
...
Now will return None when facing JSONDecodeError when loading the lockfile.
do_init will remove the old lockfile and replace it.
2018-07-30 12:22:52 +08:00
Tzu-ping Chung
cd82cdba63
Invert the verbosity flag (lower is less verbose)
2018-07-25 15:28:55 +08:00
Ethan Fulbright
118469db3b
Add verbosity int variable, use capsys in test_core
...
Changed PIPENV_SUPPRESS_NESTED_WARNING to PIPENV_VERBOSITY, an integer
value that defaults to 0 (verbose).
Changed test in test_core.py to use capsys to capture standard
output/error in order to improve compatibility with Python 2.
2018-07-25 15:24:54 +08:00
Haplo
7c681cc139
Add ability to suppress nested venv courtesy notice
...
Added an environment variable, PIPENV_SUPPRESS_NESTED_WARNING, to be
used to suppress the courtesy notice from warn_in_virtualenv.
Changed wording of the courtesy notice to mention suppression variable.
Fixes #2527 .
2018-07-25 15:24:54 +08:00
Jacob Hayes
b1ecc68951
Merge branch 'master' into 2504-fix-array-element-serialization
2018-07-12 15:20:15 -05:00
Tzu-ping Chung
f711678537
Get virtualenv location from output
...
The Project class's implementation is a fucking mess. Avoid that.
2018-07-13 03:14:22 +08:00
Jacob Hayes
1ceccb9bdf
Fix extras check in test
2018-07-11 23:32:43 -05:00
Dan Ryan
d5a3ce4d43
Merge branch 'master' into 2504-fix-array-element-serialization
2018-07-11 19:24:46 -04:00
Jacob Hayes
74de4d6af0
Remove duplicate dir check
2018-07-11 15:59:39 -05:00
Jacob Hayes
aaac6c6429
Replace test PYPI_VENDOR_DIR envvar with explicit package prep
2018-07-11 15:16:46 -05:00
Jacob Hayes
6de915ab79
[ #2504 ] Replace security extra with socks in test
2018-07-11 08:19:42 -05:00
Tzu-ping Chung
9315887101
Only quote arguments during cmdify if needed
2018-07-11 17:17:08 +08:00
Jacob Hayes
f0a1413c70
[ #2504 ] Add test for VCS dep with extras
2018-07-10 20:58:35 -05:00
Tzu-ping Chung
a5a9583c2d
Un-vendor Pew
2018-07-05 16:43:11 +08:00
Tzu-ping Chung
0023adea34
Ignore pytest_pypi.egg-info
2018-07-05 01:42:30 +08:00
Tzu-ping Chung
9adf3bdc50
Fix casing test on Windows
2018-07-04 22:40:38 +08:00
kennethreitz
7588ca31cf
passing tests!
2018-07-03 23:23:20 -04: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
kennethreitz
a31f3427a0
fix failing tests
2018-07-03 18:12:04 -04:00
Dan Ryan
547110b7b4
Add additional comparison for markers
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-30 22:33:38 -04:00
Tzu-ping Chung
d5b91f13e7
Format
2018-06-30 13:46:56 +08:00
Dan Ryan
b9559951b6
Fix test failures
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-29 21:18:34 -04:00
Dan Ryan
3b8200054d
Merge branch 'master' into appveyor_update
2018-06-29 15:47:23 -04:00
Erin O'Connell
48970d901d
new test for pipenv --support
2018-06-29 11:33:37 -06:00
Dan Ryan
c6fba403fe
Merge branch 'master' into appveyor_update
2018-06-29 04:37:59 -04:00
Dan Ryan
79a2d8131c
Merge branch 'master' into feature/repatch-shell-detection
2018-06-29 03:10:48 -04:00
Dan Ryan
65924fd05b
Merge branch 'master' into appveyor_update
2018-06-29 03:10:31 -04:00
Dan Ryan
52095a9284
Stop importing unused things
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-28 22:01:10 -04:00
Dan Ryan
36e28c0370
Merge branch 'master' into feature/repatch-shell-detection
2018-06-28 20:50:18 -04:00
Dan Ryan
832bc8ee49
Merge branch 'master' into bugfix/1901
2018-06-28 20:46:23 -04:00
Dan Ryan
29766fa0ce
Fix test
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-28 18:14:18 -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
Dan Ryan
f60d702259
Skip test
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-27 17:04:28 -04:00
Dan Ryan
ec45919346
Use environment python via pipenv call
...
Signed-off-by: Dan Ryan <dan@danryan.co >
2018-06-27 16:29:10 -04:00