[1.8.x] Fixed an admin_scripts test on Ubuntu 16.04/spatialite.
This commit is contained in:
parent
99cd139a30
commit
15a80c3dfd
|
@ -61,6 +61,7 @@ class AdminScriptTestCase(unittest.TestCase):
|
|||
'SECRET_KEY',
|
||||
'TEST_RUNNER', # We need to include TEST_RUNNER, otherwise we get a compatibility warning.
|
||||
'MIDDLEWARE_CLASSES', # We need to include MIDDLEWARE_CLASSES, otherwise we get a compatibility warning.
|
||||
'SPATIALITE_LIBRARY_PATH',
|
||||
]
|
||||
for s in exports:
|
||||
if hasattr(settings, s):
|
||||
|
|
Loading…
Reference in New Issue