Skip to content

Commit

Permalink
fix: test for name match
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Trval committed Oct 25, 2023
1 parent 1d6bc32 commit 6d3946f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6d3946f

Please sign in to comment.