Moved test_templates to templates to prevent issues with regressiontests/templates later on.

This commit is contained in:
Florian Apolloner 2013-02-26 09:51:56 +01:00
parent 8dd8400f7e
commit 41d7a9a907
26 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ REGRESSION_TEST_DIR = os.path.join(RUNTESTS_DIR, REGRESSION_TESTS_DIR_NAME)
TEMP_DIR = tempfile.mkdtemp(prefix='django_')
os.environ['DJANGO_TEST_TEMP_DIR'] = TEMP_DIR
REGRESSION_SUBDIRS_TO_SKIP = []
SUBDIRS_TO_SKIP = ['test_templates']
ALWAYS_INSTALLED_APPS = [
'django.contrib.contenttypes',
@ -60,7 +60,7 @@ def get_test_modules():
# Python 3 byte code dirs (PEP 3147)
f == '__pycache__' or
f.startswith('sql') or
os.path.basename(f) in REGRESSION_SUBDIRS_TO_SKIP):
os.path.basename(f) in SUBDIRS_TO_SKIP):
continue
modules.append((loc, f))
return modules