MCPcopy Create free account
hub / github.com/django-commons/django-debug-toolbar / test_class

Method test_class

tests/test_utils.py:33–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 )
32
33 def test_class(self):
34 class A:
35 pass
36
37 res = get_name_from_obj(A)
38 self.assertEqual(
39 res, "tests.test_utils.GetNameFromObjTestCase.test_class.<locals>.A"
40 )
41
42
43class RenderStacktraceTestCase(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

get_name_from_objFunction · 0.90

Tested by

no test coverage detected