Commit Graph

693 Commits

Author SHA1 Message Date
Felipe Arruda Pontes 4dd3cccafa adding mock to test the methods 2017-02-11 23:01:30 -02:00
Felipe Arruda Pontes dc02663c66 making cli.proper_case use a new method that runs through all sources in project.sources, and return the Request's return for the first one that
hit OK, or neither did ok, then raise an exception.

Also doing something similar to `cli.pip_install` so that it will try to pip install for all the sources and return the first cmd that worked or the last that didn't work.
2017-02-11 23:01:30 -02:00
Felipe Arruda Pontes b3af3f06e8 changing project.source to project.sources and making it return a list as default instead of just the first source present 2017-02-11 23:00:56 -02:00
Nate Prewitt 4f9d27aba6 removing unneeded pew test 2017-02-11 15:34:40 -07:00
Nate Prewitt 32d9d88c05 updating run-tests in Makefile 2017-02-11 14:58:38 -07:00
Nate Prewitt d9333e0548 updating HISTORY 2017-02-11 14:38:57 -07:00
Nate Prewitt bc7587127d Merge pull request #218 from kennethreitz/refactor
[WIP] Better package name handling, location caching and testing
2017-02-11 14:15:30 -07:00
Nate Prewitt 547a084d3b test adding and removing packages from Pipfile 2017-02-10 11:54:07 -07:00
Nate Prewitt 81572271f1 cleanup 2017-02-10 11:03:44 -07:00
Nate Prewitt 289a148037 Merge remote-tracking branch 'upstream/master' into refactor 2017-02-10 10:56:51 -07:00
Nate Prewitt 13cfbd4ca3 cleanup 2017-02-10 10:07:28 -07:00
Nate Prewitt faeb5f1329 caching pipfile_location and testing 2017-02-10 09:22:25 -07:00
Nate Prewitt 69a89ec8df tests for utils (hashes, revisions, and versions) 2017-02-10 07:52:15 -07:00
Nate Prewitt 8ebcd1ae75 only use pypi.org for proper casing 2017-02-10 07:51:57 -07:00
Nate Prewitt 0726aec642 simplifying writes 2017-02-09 09:21:03 -07:00
Nate Prewitt 839a970185 substring version out 2017-02-09 09:06:15 -07:00
Nate Prewitt 1126d79311 more tests 2017-02-09 09:05:18 -07:00
kennethreitz cfa4060d8e --no-interactive 2017-02-08 23:14:59 -05:00
Nate Prewitt 8a7223bac8 properly handle percent-encodings in parse_install_output 2017-02-08 15:12:31 -07:00
Nate Prewitt 5d45e6e734 updating parse_download_fname and tests 2017-02-08 14:13:41 -07:00
Nate Prewitt ff4ef9688f don't validate if environment isn't configured 2017-02-08 13:54:39 -07:00
Nate Prewitt 818b8d75c7 Update HISTORY.txt 2017-02-08 13:52:15 -07:00
kennethreitz 9a1684caea New blindspin works on 2.6 2017-02-08 15:45:58 -05:00
kennethreitz f6f1218b30 Merge pull request #205 from imanhodjaev/master
Cleanup: IO and formatting
2017-02-08 14:24:42 -06:00
Nate Prewitt 5dab2abad7 return proper code for bad hashes 2017-02-08 09:04:11 -07:00
Nate Prewitt 31fb7d1f2e remove unnecessary test_files 2017-02-07 18:40:55 -07:00
Nate Prewitt 85d2b2e738 updating help string for uninstall --dev 2017-02-07 17:13:10 -07:00
Nate Prewitt 05e24936fd use parametrize for test_parse_download_fname 2017-02-07 17:10:15 -07:00
Nate Prewitt 2200fca987 updating tests 2017-02-07 17:09:49 -07:00
Nate Prewitt 502caadf00 ensure_proper_casing refactor 2017-02-07 17:07:55 -07:00
Nate Prewitt fff1f3a624 make properties use private variables 2017-02-06 18:40:49 -07:00
Nate Prewitt 40b7a12204 removing unnecessary case normalization 2017-02-06 13:50:02 -07:00
Nate Prewitt b1cdb6f02a removing unnecessary parens 2017-02-06 13:49:38 -07:00
Nate Prewitt a2987a05fe test ensure_proper_casing 2017-02-06 13:26:52 -07:00
Nate Prewitt b4e443a498 return casing_changed 2017-02-06 13:25:50 -07:00
Sultan Imanhodjaev 7ed304238a Use string as a default value for PIPENV_MAX_DEPTH 2017-02-06 20:54:17 +01:00
Sultan Imanhodjaev 849a62c473 Put back 'r' for codecs.open 2017-02-06 20:31:59 +01:00
Sultan Imanhodjaev 9729a9a9c6 Cleanup: IO and formatting 2017-02-06 20:16:48 +01:00
Nate Prewitt a31d262f34 Merge branch 'testing' into refactor 2017-02-06 11:55:20 -07:00
Nate Prewitt e0d1f2bfeb refactor ensure_proper_casing 2017-02-06 11:55:01 -07:00
Nate Prewitt af44dfb30a Merge pull request #200 from nateprewitt/disable_spinner
disable spinner for 2.6
2017-02-04 17:02:53 -07:00
Nate Prewitt a2112bb543 disable spinner for 2.6 2017-02-04 16:55:50 -07:00
kennethreitz 9cbb473829 cleanup output v3.3.6 2017-02-02 22:17:47 -05:00
kennethreitz 55ce3864ba improve 2017-02-02 21:35:27 -05:00
kennethreitz 9393f6b6af improved 2017-02-02 21:33:25 -05:00
kennethreitz d484848cd3 3.3.6 2017-02-02 21:23:47 -05:00
kennethreitz f9a54888af better 2017-02-02 21:22:20 -05:00
kennethreitz c1f81879a2 better output for --venv 2017-02-02 21:07:21 -05:00
kennethreitz b643a6a0ae add --venv option 2017-02-02 21:02:40 -05:00
Nate Prewitt e5f1b61f8c initial testing work 2017-02-02 16:57:14 -07:00