Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit d4fff31

Browse files
committed
Merge pull request #19 from codacy/fix_tests
Use the proper location of the code, including using develop mode.
2 parents 75e8df0 + 20786c1 commit d4fff31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist = py27, py350, pep8, pyflakes
44
[testenv]
55
commands = {envpython} -m unittest discover -s tests -p "*test*"
66
deps = requests
7+
usedevelop = true
78

89
[testenv:pep8]
910
deps =
@@ -20,7 +21,7 @@ commands =
2021
[testenv:coverage]
2122
deps = coverage
2223
commands =
23-
{envpython} -m coverage run --source {envsitepackagesdir}/codacy/ -m unittest discover -p "*test*" -s tests
24+
{envpython} -m coverage run --source src/codacy -m unittest discover -p "*test*" -s tests
2425
{envpython} -m coverage xml
2526

2627
[testenv:upload_coverage]

0 commit comments

Comments
 (0)