diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/backends/test_features.py | 8 |
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')) |
