From 20786c1d42de8a84c0ea28ec74be9787810b6104 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Tue, 2 Feb 2016 11:32:16 +0000 Subject: [PATCH] Use the proper location of the code, including using develop mode. --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bebb8cf..7e90f14 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py27, py350, pep8, pyflakes [testenv] commands = {envpython} -m unittest discover -s tests -p "*test*" deps = requests +usedevelop = true [testenv:pep8] deps = @@ -20,7 +21,7 @@ commands = [testenv:coverage] deps = coverage commands = - {envpython} -m coverage run --source {envsitepackagesdir}/codacy/ -m unittest discover -p "*test*" -s tests + {envpython} -m coverage run --source src/codacy -m unittest discover -p "*test*" -s tests {envpython} -m coverage xml [testenv:upload_coverage]