Fix some paths.

This commit is contained in:
Jannis Leidel 2017-05-03 10:07:48 +02:00
parent 63758bc316
commit 72ae403ca1
No known key found for this signature in database
GPG key ID: C795956FB489DCA9
3 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ globals().update(conf.build_config(
copyright='2009-2017',
django_settings='proj.settings',
include_intersphinx={'python', 'sphinx', 'django', 'celery'},
path_additions=[os.path.join(os.pardir, 't')],
path_additions=[os.path.join(os.pardir, 'tests')],
extra_extensions=['sphinx.ext.napoleon'],
html_logo='images/logo.png',
html_favicon='images/favicon.ico',

View file

@ -4,7 +4,7 @@ import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 't.proj.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.proj.settings')
from django.core.management import execute_from_command_line

View file

@ -36,8 +36,8 @@ commands =
py: py.test -xv --cov=django_celery_monitor --cov-report=term --cov-report=xml --no-cov-on-fail
apicheck: sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
builddocs: sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
flake8: flake8 {toxinidir}/django_celery_monitor {toxinidir}/t
flakeplus: flakeplus --2.7 {toxinidir}/django_celery_monitor {toxinidir}/t
flake8: flake8 {toxinidir}/django_celery_monitor {toxinidir}/tests
flakeplus: flakeplus --2.7 {toxinidir}/django_celery_monitor {toxinidir}/tests
linkcheck: sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
manifest: check-manifest -v
pydocstyle: pydocstyle {toxinidir}/django_celery_monitor