From 14903f3bbd1548e67512b8873de5132b81df633b Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Thu, 5 Dec 2019 11:23:33 +0100 Subject: [PATCH] Fully working tox run --- README.md | 6 +++--- pytest.ini | 2 +- tox.ini | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b5f2815..f7aac18 100644 --- a/README.md +++ b/README.md @@ -182,9 +182,9 @@ path `/databases//dump.sql` or similar. ## Running Tests ```bash -python setup.py develop -pip install -r tests/requirements.txt -pytest tests +pip install -e src/ +pip install -r src/tests/requirements.txt +tox ``` ## Building Docs diff --git a/pytest.ini b/pytest.ini index 6e31137..2f145b6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,4 +1,4 @@ [pytest] -testpaths = tests +testpaths = src/tests python_files=test*.py addopts = -v --verbose diff --git a/tox.ini b/tox.ini index 848647a..ac38a93 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ skipsdist = True setupdir={toxinidir}/src envlist = - ; py37 + py37 pep8 [testenv]