summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-09-14 18:19:19 +0200
committerTim Graham <timograham@gmail.com>2015-09-17 09:30:46 -0400
commitda5747f8e460ea2a2d16f124463b3975ccfc0992 (patch)
tree8c77179ce75998817ee125de85a569837be64d5d /tests
parent8550161e531a603d57723850fb09c4c9b7ca60b9 (diff)
Fixed #25400 -- Fixed regression in nonexistent features on gis backends.
Diffstat (limited to 'tests')
-rw-r--r--tests/backends/test_features.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/backends/test_features.py b/tests/backends/test_features.py
new file mode 100644
index 0000000000..831a0002a3
--- /dev/null
+++ b/tests/backends/test_features.py
@@ -0,0 +1,8 @@
+from django.db import connection
+from django.test import TestCase
+
+
+class TestDatabaseFeatures(TestCase):
+
+ def test_nonexistent_feature(self):
+ self.assertFalse(hasattr(connection.features, 'nonexistent'))