1
0
mirror of https://github.com/httpie/cli.git synced 2026-04-24 19:53:55 +02:00

Expand the pytest configuration (#1161)

And rely on it to run tests.
This commit is contained in:
Mickaël Schoentgen
2021-09-20 17:36:03 +02:00
committed by GitHub
parent e2ba214ac0
commit 529aa78ee1
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -80,11 +80,11 @@ venv:
test:
@echo $(H1)Running tests$(HEADER_EXTRA)$(H1END)
$(VENV_BIN)/python -m pytest $(COV) ./httpie $(COV) ./tests --doctest-modules --verbose ./httpie ./tests
$(VENV_BIN)/python -m pytest $(COV)
@echo
test-cover: COV=--cov
test-cover: COV=--cov=httpie --cov=tests
test-cover: HEADER_EXTRA=' (with coverage)'
test-cover: test