mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #25400 -- Fixed regression in nonexistent features on gis backends.
This commit is contained in:
parent
8550161e53
commit
da5747f8e4
2 changed files with 10 additions and 3 deletions
8
tests/backends/test_features.py
Normal file
8
tests/backends/test_features.py
Normal 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'))
|
Loading…
Add table
Add a link
Reference in a new issue