Fixed #25400 -- Fixed regression in nonexistent features on gis backends.

This commit is contained in:
Daniel Hahler 2015-09-14 18:19:19 +02:00 committed by Tim Graham
parent 8550161e53
commit da5747f8e4
2 changed files with 10 additions and 3 deletions

View file

@ -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'))