Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 824d50a

Browse files
committed
fix: tox
1 parent 6582d00 commit 824d50a

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.coveragerc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ To exclude parts of your source from coverage, for example migrations folders:
55

66
[report]
77
omit =
8-
*/dispatch/*
8+
*/fixtures/*
99
*/tests/*
10+
*/utils/*
1011

1112
[report]
1213
exclude_lines =

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ help:
77
@echo "clean-test - remove test and coverage artifacts"
88
@echo "lint - check style with flake8"
99
@echo "test - run tests quickly with the default Python"
10+
@echo "testtb - run tests quickly with tracebacks"
1011
@echo "test-all - run tests on every Python version with tox"
1112
@echo "coverage - check code coverage quickly with the default Python"
1213
@echo "docs - generate Sphinx HTML documentation, including API docs"
@@ -35,6 +36,9 @@ lint:
3536
flake8 ethereum tests --ignore=E501
3637

3738
test:
39+
py.test --tb=no ethereum/tests/
40+
41+
testtb:
3842
python setup.py test
3943

4044
test-all:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ def run_tests(self):
2828
url='https://github.com/ethereum/pyethereum/',
2929
install_requires=install_requires,
3030
entry_points=dict(console_scripts=console_scripts),
31-
version='0.9.60',
31+
version='0.9.61',
3232
cmdclass=cmdclass
3333
)

tox.ini

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
22
envlist = py27
33

4+
45
[testenv]
5-
deps=
6-
mock
7-
coveralls
8-
pytest
9-
ethereum-serpent
10-
commands=
11-
py.test
12-
coveralls
13-
sitepackages=False
6+
setenv =
7+
PYTHONPATH = {toxinidir}:{toxinidir}/pyethereum
8+
commands = python setup.py test
9+
10+
deps =
11+
-r{toxinidir}/requirements.txt
12+
-r{toxinidir}/dev_requirements.txt

0 commit comments

Comments
 (0)