Skip to content

Commit

Permalink
Use pytest for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto committed Jan 13, 2025
1 parent dce5ae0 commit a5cc986
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/190.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use pytest for tests
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-r requirements.txt
coverage
coveralls>=2.0
pytest-runner
pytest
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envlist =
py{311,310,39}

[testenv]
commands = {env:COMMAND:python} setup.py test {posargs}
commands = {env:COMMAND:python} -m pytest {posargs}
deps =
-r{toxinidir}/requirements-test.txt
passenv =
Expand Down Expand Up @@ -105,4 +105,3 @@ ignore-bad-ideas =
[pytest]
python_files = test_*.py
traceback = short
addopts = --reuse-db

0 comments on commit a5cc986

Please sign in to comment.