Move tests into “tests” folder.

This commit is contained in:
Jannis Leidel 2017-05-03 08:52:45 +02:00
parent e92c3affbb
commit aa16913956
No known key found for this signature in database
GPG key ID: C795956FB489DCA9
13 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
branch = 1
cover_pylib = 0
include = *django_celery_monitor/*
omit = t/*
omit = tests/*
[report]
omit =

View file

@ -9,9 +9,9 @@ recursive-include docs *
recursive-include extra/*
recursive-include examples *
recursive-include requirements *.txt *.rst
recursive-include t *.py
recursive-include django_celery_monitor *.py
recursive-include tests *.py
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
recursive-exclude * .*.sw*

View file

@ -1,7 +1,7 @@
[tool:pytest]
testpaths = t/unit
testpaths = tests/unit
python_classes = test_*
DJANGO_SETTINGS_MODULE=t.proj.settings
DJANGO_SETTINGS_MODULE=tests.proj.settings
[flake8]
# classes can be lowercase, arguments and variables can be uppercase

View file

@ -135,7 +135,7 @@ class pytest(setuptools.command.test.test):
setuptools.setup(
name=NAME,
packages=setuptools.find_packages(exclude=['t', 't.*']),
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
version=meta['version'],
description=meta['doc'],
long_description=long_description,