Fully working tox run

This commit is contained in:
Einar Forselv 2019-12-05 11:23:33 +01:00
parent 96bd419a24
commit 14903f3bbd
3 changed files with 5 additions and 5 deletions

View File

@ -182,9 +182,9 @@ path `/databases/<service_name>/dump.sql` or similar.
## Running Tests ## Running Tests
```bash ```bash
python setup.py develop pip install -e src/
pip install -r tests/requirements.txt pip install -r src/tests/requirements.txt
pytest tests tox
``` ```
## Building Docs ## Building Docs

View File

@ -1,4 +1,4 @@
[pytest] [pytest]
testpaths = tests testpaths = src/tests
python_files=test*.py python_files=test*.py
addopts = -v --verbose addopts = -v --verbose

View File

@ -5,7 +5,7 @@
skipsdist = True skipsdist = True
setupdir={toxinidir}/src setupdir={toxinidir}/src
envlist = envlist =
; py37 py37
pep8 pep8
[testenv] [testenv]