From 6d3946f7384341647c3d71d3a11a6378ec2dd67e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Trval?= Date: Wed, 25 Oct 2023 13:17:50 +0200 Subject: [PATCH] fix: test for name match --- tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index fe3a1adb..36975820 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -106,7 +106,7 @@ def test_none(self): _ = utils.to_view_name(None) def test_name(self): - assert self.test_none == self.test_none.__name__ + assert utils.to_view_name(self.test_none) == self.test_none.__name__ class ImportCheckViewFuncTest(object):