You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Prefer usage of pytest rather than py.test (#1058)
`py.test` was chosen over `pytest` but it is not planned for removal yet [1]. Anyway, it is a good thing to ensure we are using the correct Python version with the right `pytest` installed, so using `python -m pytest` is recommended. [1] https://github.com/pytest-dev/pytest/issues/1629
This commit is contained in:
committed by
GitHub
parent
1274d869f6
commit
7cbdf2c608
2
Makefile
2
Makefile
@@ -78,7 +78,7 @@ venv:
|
||||
|
||||
test:
|
||||
@echo $(H1)Running tests$(HEADER_EXTRA)$(H1END)
|
||||
$(VENV_BIN)/py.test $(COV) ./httpie $(COV) ./tests --doctest-modules --verbose ./httpie ./tests
|
||||
$(VENV_BIN)/python -m pytest $(COV) ./httpie $(COV) ./tests --doctest-modules --verbose ./httpie ./tests
|
||||
@echo
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user