From 78041ea28b55e6eecb3c8cc47361dc75cbeb02b3 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Fri, 18 Nov 2022 13:31:57 +0100 Subject: [PATCH] Separate `test_repr` and `test_str`. --- tests/test_models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_models.py b/tests/test_models.py index e86c965..30fba99 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -88,6 +88,10 @@ class AdminInterfaceModelsTestCase(TestCase): self.__test_active_theme() def test_repr(self): + theme = Theme.get_active_theme() + self.assertEqual(repr(theme), "") + + def test_str(self): theme = Theme.get_active_theme() self.assertEqual("{0}".format(theme), "Django")