1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-17 07:40:09 -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:
Adrian Sampson 2019-06-30 10:15:51 -04:00
parent e85ba126c5
commit 91f797289b
2 changed files with 1 additions and 7 deletions

View File

@ -17,5 +17,4 @@ requires-python = ">=3.4"
test = [ test = [
"coverage", "coverage",
"flake8", "flake8",
"pytest"
] ]

View File

@ -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