Tests run at all on Django 1.5.
This commit is contained in:
@@ -5,3 +5,5 @@ ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
path = lambda *a: os.path.join(ROOT, *a)
|
||||
|
||||
JINJA_CONFIG = {}
|
||||
|
||||
SECRET_KEY = 'jingo'
|
||||
|
||||
@@ -15,3 +15,5 @@ TEMPLATE_LOADERS = (
|
||||
TEMPLATE_DIRS = (path('jingo/tests/templates'),)
|
||||
JINGO_EXCLUDE_APPS = ('django_app',)
|
||||
ROOT_URLCONF = 'jingo.tests.urls'
|
||||
|
||||
SECRET_KEY = 'jingo'
|
||||
|
||||
@@ -83,3 +83,6 @@ def patch():
|
||||
idx = bases.index(django.utils.encoding.StrAndUnicode)
|
||||
bases[idx] = SafeStrAndUnicode
|
||||
cls.__bases__ = tuple(bases)
|
||||
for cls in classes:
|
||||
if not hasattr(cls, '__html__'):
|
||||
cls.__html__ = __html__
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# These are the reqs to build docs and run tests.
|
||||
-e git+git://github.com/django/django.git@1.5b1#egg=django
|
||||
sphinx
|
||||
jinja2
|
||||
nose
|
||||
mock
|
||||
Django==1.3
|
||||
fabric
|
||||
|
||||
Reference in New Issue
Block a user