diff --git a/.coveragerc b/.coveragerc index 356e7801d..a3f73db5b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,7 @@ [run] branch = True source = watcher -omit = watcher/tests/*,watcher/openstack/* +omit = watcher/tests/* [report] ignore_errors = True diff --git a/tox.ini b/tox.ini index fb082719f..8e41548c6 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ commands = flake8 commands = {posargs} [testenv:cover] -commands = python setup.py testr --coverage --omit="watcher/tests/*,watcher/openstack/*" --testr-args='{posargs}' +commands = python setup.py testr --coverage --omit="watcher/tests/*" --testr-args='{posargs}' [testenv:docs] commands = python setup.py build_sphinx @@ -43,7 +43,7 @@ commands = show-source=True ignore=E123,E125,H404,H405,H305 builtins= _ -exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*sqlalchemy/alembic/versions/*,demo/ +exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,*sqlalchemy/alembic/versions/*,demo/ [testenv:pypi] commands =