From 15a80c3dfdf05ccff62a74b1b5d1bda98bb364ec Mon Sep 17 00:00:00 2001
From: Tim Graham <timograham@gmail.com>
Date: Thu, 28 Jan 2016 17:59:39 -0500
Subject: [PATCH] [1.8.x] Fixed an admin_scripts test on Ubuntu
 16.04/spatialite.

---
 tests/admin_scripts/tests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 7b2617e676..a8617fbb2a 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -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):