Fixing little typos in tests

This commit is contained in:
Tino
2012-02-20 20:55:16 +01:00
parent 04b836e5d8
commit 77501cf21a
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ TEST_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'tests')
COMPRESS_CACHE_BACKEND = 'locmem://'
if django.VERSION[:2] > (1, 3):
if django.VERSION[:2] > (1, 2):
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
@@ -37,3 +37,4 @@ JENKINS_TASKS = (
'django_jenkins.tasks.with_coverage',
'django_jenkins.tasks.django_tests',
)

View File

@@ -120,7 +120,7 @@ class OfflineGenerationTestCaseWithContext(OfflineTestCaseMixin, TestCase):
super(OfflineGenerationTestCaseWithContext, self).setUp()
def tearDown(self):
self.COMPRESS_OFFLINE_CONTEXT = self.old_offline_context
settings.COMPRESS_OFFLINE_CONTEXT = self.old_offline_context
super(OfflineGenerationTestCaseWithContext, self).tearDown()