Skip to content

Commit

Permalink
replace nosetests (unmaintained) with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
wisp3rwind committed Jan 16, 2020
1 parent 5d366a3 commit 7c154b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[nosetests]
verbosity=1
with-coverage=1
cover-erase=1
cover-package=beetsplug.alternatives
cover-html=1
cover-html-dir=coverage
logging-clear-handlers=1
[coverage:run]
source = beetsplug.alternatives

[coverage:html]
directory = coverage

[tool:pytest]
addopts = --cov --cov-report=term --cov-report=html
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ basepython =
py39: python3.9
flake8_files = beetsplug test setup.py
commands =
beets_{master,release}: nosetests {posargs}
beets_{master,release}: pytest {posargs}
flake8: flake8 {posargs} {[testenv]flake8_files}
deps =
coverage
nose
pytest
pytest-cov
mock
beets_master: git+git://github.com/sampsyo/beets.git@master
flake8: flake8

0 comments on commit 7c154b2

Please sign in to comment.