1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Renamed some tests and removed references to modeltests/regressiontests.

This commit is contained in:
Florian Apolloner
2013-02-26 13:19:18 +01:00
parent 737a5d71f0
commit 33836cf88d
224 changed files with 384 additions and 376 deletions

View File

@@ -18,7 +18,7 @@ CONTRIB_DIR = os.path.dirname(upath(contrib.__file__))
TEMP_DIR = tempfile.mkdtemp(prefix='django_')
os.environ['DJANGO_TEST_TEMP_DIR'] = TEMP_DIR
SUBDIRS_TO_SKIP = ['test_templates']
SUBDIRS_TO_SKIP = ['templates']
ALWAYS_INSTALLED_APPS = [
'django.contrib.contenttypes',
@@ -54,7 +54,8 @@ def get_test_modules():
# Python 3 byte code dirs (PEP 3147)
f == '__pycache__' or
f.startswith('sql') or
os.path.basename(f) in SUBDIRS_TO_SKIP):
os.path.basename(f) in SUBDIRS_TO_SKIP or
os.path.isfile(f)):
continue
modules.append((loc, f))
return modules