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):