Fixing little typos in tests
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user