Commit 15a80c3d authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed an admin_scripts test on Ubuntu 16.04/spatialite.

parent 99cd139a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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):