Skip to content

Commit

Permalink
tox: replace py.test with pytest
Browse files Browse the repository at this point in the history
From pytest 3.0 supported and recommended way is to use of pytest
as the main command instead of py.test
It's possible that in future py.test will be deprecated
or potentially even removed [1]

---

[1]: pytest-dev/pytest#1629

Signed-off-by: Michal Šoltis <msoltis@redhat.com>
  • Loading branch information
slimreaper35 committed Aug 21, 2024
1 parent ae89bba commit 8b1f13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ usedevelop = true
deps =
-rrequirements-extras.txt
commands =
py.test \
pytest \
--ignore=tests/integration \
--cov=cachi2 \
--cov-config=pyproject.toml \
Expand Down

0 comments on commit 8b1f13b

Please sign in to comment.