def test_typeCheckDefaultTextSingle(self):
        checked = []
        fieldDefs = {"pubsub#description":
                        {"label": "A description of the node"}}
        form = data_form.Form('submit')
        form.addField(data_form.Field('text-single', var='pubsub#description',
                                                     value='a node'))
        field = form.fields['pubsub#description']
        field.typeCheck = lambda : checked.append(None)
        form.typeCheck(fieldDefs)

        self.assertEqual([None], checked)
Extracts the tempurl keys from metadata.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FormTest.test_typeCheckDefaultTextSingle--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/middleware/tempurl.py/get_tempurl_keys_from_metadata