☰
Debian Codegraph
@
3:5.2.17-2
3:5.2.17-1
3:5.2.15-2
/
/
tests
/
backends
/
base
/
test_features.py
☽
☼
tests/backends/base/test_features.py
code
plain
raw
BSD-3-Clause
Django Software Foundation and individual contributors
debian/copyright
1
from django.db import connection
2
from django.test import SimpleTestCase
3
4
5
class TestDatabaseFeatures(SimpleTestCase):
6
def test_nonexistent_feature(self):
7
self.assertFalse(hasattr(connection.features, "nonexistent"))