Skip to content

Commit 0fdcb67

Browse files
use pytest to run tests
1 parent f2aae35 commit 0fdcb67

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ init:
2929

3030
test:
3131
coverage erase
32-
PYTHONHASHSEED=0 nosetests --nologcapture --verbosity 1 --with-coverage --cover-package=steam tests
32+
PYTHONHASHSEED=0 pytest --cov=steam tests
3333

3434
webauth_gen:
3535
rm -f vcr/webauth*

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ protobuf>=3.0.0
77
gevent-eventemitter>=2.0
88
enum34==1.1.2; python_version < '3.4'
99
coverage==4.0.3
10+
pytest==3.2.1
11+
pytest-cov==2.5.1
1012
mock==1.3.0
1113
nose==1.3.7
1214
PyYAML==3.11

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
2-
envlist = py27, py34
2+
envlist = py27, py36
33

44
[testenv]
55
setenv =
66
PYTHONHASHSEED = 0
77
deps = -rrequirements.txt
88
commands =
9-
nosetests --verbosity 1 --with-coverage --cover-package=steam
9+
pytest --cov=steam tests

0 commit comments

Comments
 (0)