mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Reorganized backends tests.
This commit is contained in:
committed by
Tim Graham
parent
0f91ba1adc
commit
8cb1b1fd8e
8
tests/backends/base/test_features.py
Normal file
8
tests/backends/base/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'))
|
||||
Reference in New Issue
Block a user