Skip to content

Commit

Permalink
tox: Replace py.test command 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 27, 2024
1 parent 10a1376 commit 1114445
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 @@ -17,7 +17,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 1114445

Please sign in to comment.