Skip to content

Commit dcce962

Browse files
committed
Replace nosetest with pytest
1 parent 3b490fe commit dcce962

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ check: install
3939

4040
test: install
4141
@pip install --quiet --requirement=requirements-tests.txt
42-
@nosetests --with-coverage --cover-html
42+
@py.test
4343
@coverage report --fail-under=90
4444

4545
tox: install

requirements-tests.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ zope.interface>=4.4.0
99
pyasn1>=0.2.3
1010
pycrypto>=2.6.1
1111
pyserial>=3.4
12+
pytest-cov>=2.5.1
13+
pytest>=3.5.0
1214
redis>=2.10.5
1315
sqlalchemy>=1.1.15
1416
#wsgiref>=0.1.2

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ all_files = 1
2626
upload-dir = build/sphinx/html
2727

2828
[bdist_wheel]
29-
universal=1
29+
universal=1
30+
31+
[tool:pytest]
32+
addopts = --cov=pymodbus/
33+
testpaths = test

0 commit comments

Comments
 (0)