Tests run at all on Django 1.5.

This commit is contained in:
James Socol 2012-11-30 12:36:57 -05:00
parent b4e4c267e4
commit b4d1019497
4 changed files with 8 additions and 1 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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__

View File

@ -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