1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations().

This commit is contained in:
shankarj67
2020-03-06 10:23:52 +05:30
committed by Mariusz Felisiak
parent 17009e9105
commit df4d622cac
2 changed files with 16 additions and 0 deletions

View File

@@ -26,6 +26,11 @@ class SimpleDatabaseIntrospectionTests(SimpleTestCase):
with self.assertRaisesMessage(NotImplementedError, msg):
self.introspection.get_sequences(None, None)
def test_get_relations(self):
msg = self.may_require_msg % 'get_relations'
with self.assertRaisesMessage(NotImplementedError, msg):
self.introspection.get_relations(None, None)
def test_get_key_columns(self):
msg = self.may_require_msg % 'get_key_columns'
with self.assertRaisesMessage(NotImplementedError, msg):