From 6fa2930573ff862a7f8ae8a11aa8bb7253fddeb7 Mon Sep 17 00:00:00 2001 From: Jonny Park Date: Fri, 26 Mar 2021 16:14:09 +0900 Subject: Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and SQLCompiler. --- tests/backends/base/test_base.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/backends') diff --git a/tests/backends/base/test_base.py b/tests/backends/base/test_base.py index f89aec57f0..b07d6d3ceb 100644 --- a/tests/backends/base/test_base.py +++ b/tests/backends/base/test_base.py @@ -9,6 +9,13 @@ from ..models import Square class DatabaseWrapperTests(SimpleTestCase): + def test_repr(self): + conn = connections[DEFAULT_DB_ALIAS] + self.assertEqual( + repr(conn), + f"", + ) + def test_initialization_class_attributes(self): """ The "initialization" class attributes like client_class and -- cgit v1.3