def _name(self): return id_name_of(self)
def test_name_is_correct(self): expected = id_name_of(self.desc) self.assertEqual(self.attrName, expected)
def test_hex_desc_id(self): hex_id = id_name_of(InstSutClass.attr) result = hex_desc_id("someString", InstSutClass.attr) self.assertEqual(hex_id, result)