mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-17 15:50:10 -07:00
Use built-in unittest for test execution
I like pytest, but I don't think it's necessary for super simple tests. I'd like to avoid the dependency if we don't need it.
This commit is contained in:
parent
e85ba126c5
commit
91f797289b
@ -17,5 +17,4 @@ requires-python = ">=3.4"
|
|||||||
test = [
|
test = [
|
||||||
"coverage",
|
"coverage",
|
||||||
"flake8",
|
"flake8",
|
||||||
"pytest"
|
|
||||||
]
|
]
|
||||||
|
7
tox.ini
7
tox.ini
@ -1,8 +1,3 @@
|
|||||||
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
||||||
# in multiple virtualenvs. This configuration file will run the
|
|
||||||
# test suite on all supported python versions. To use it, "pip install tox"
|
|
||||||
# and then run "tox" from this directory.
|
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py34,py35,py36,37
|
envlist = py34,py35,py36,37
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
@ -15,6 +10,6 @@ deps =
|
|||||||
flit
|
flit
|
||||||
commands =
|
commands =
|
||||||
flit install
|
flit install
|
||||||
coverage run {envbindir}/pytest {posargs}
|
coverage run python -m unittest -s tests
|
||||||
coverage report
|
coverage report
|
||||||
py37: flake8
|
py37: flake8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user