Commit Graph

11 Commits

Author SHA1 Message Date
Frost Ming ca5d931f1f Update to py36 plus syntax 2021-07-28 10:59:00 +08:00
Dan Ryan 88fe850482 Fix monkeypatch warnings on python 2.7
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 17:45:13 -04:00
Dan Ryan f90e183064 Fix failing test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:09 -04:00
Dan Ryan e911c9ac71 Use monkeypatch instead of mock for setting dotenv test attributes
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:08 -04:00
Dan Ryan e03878d7c7 Add news entry and fix lockfile
- Drop pytest-tap
- Update azure pipelines config
- Borrow ramdisk configuration from pip
- Fix pyinstaller ref for python 2
- Add 0-minute timeout and add github workflow
- Add skip for pywin32
- Scale down to `-n auto` to reduce race conditions on windows
- Skip pywin32 on python 3.8 as the relevant dependencies aren't
  compatible
- Use default pip exists action = ignore to work around VCS race
  condition
- Create local temp directory to avoid crossing drive letter boundary on
  azure during CI runs
- Monkeypatch click windows console detection to return False in CI

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:06 -04:00
jxltom 85e64b86be Resort imports for tests 2018-12-01 17:26:32 +08:00
Oliver Newman b8da356e33 Fix TemporaryDirectory call 2018-08-23 12:27:27 -04:00
Oliver Newman 0973e5e23a Write tests for load_dot_env 2018-08-23 12:27:27 -04: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