Skip to content

Commit

Permalink
Replace nosetest with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoomakethu committed Apr 20, 2018
1 parent 3b490fe commit dcce962
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ check: install

test: install
@pip install --quiet --requirement=requirements-tests.txt
@nosetests --with-coverage --cover-html
@py.test
@coverage report --fail-under=90

tox: install
Expand Down
2 changes: 2 additions & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ zope.interface>=4.4.0
pyasn1>=0.2.3
pycrypto>=2.6.1
pyserial>=3.4
pytest-cov>=2.5.1
pytest>=3.5.0
redis>=2.10.5
sqlalchemy>=1.1.15
#wsgiref>=0.1.2
Expand Down
6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ all_files = 1
upload-dir = build/sphinx/html

[bdist_wheel]
universal=1
universal=1

[tool:pytest]
addopts = --cov=pymodbus/
testpaths = test

0 comments on commit dcce962

Please sign in to comment.