def test_patch_asbool_bold_checkmark(self): bold_check = b'\xe2\x9c\x94'.decode('utf-8') self._callFUT() from pyramid.settings import asbool result = asbool(bold_check) self.assertEqual(result, True)
def _callFUT(self, s): from pyramid_asbool import asbool return asbool(s)