def test_typeCheckUnknownRemoved(self):
        checked = []
        fieldDefs = {}
        form = data_form.Form('submit')
        form.addField(data_form.Field('list-single', var='pubsub#description',
                                                     value='a node'))
        field = form.fields['pubsub#description']
        field.typeCheck = lambda : checked.append(None)
        form.typeCheck(fieldDefs, filterUnknown=True)

        self.assertNotIn('pubsub#description', form.fields)
        self.assertEqual([], checked)
Return the resource corresponding to the customer's subscriptions.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FormTest.test_typeCheckUnknownRemoved--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/stripe/customers.py/Customer.subscriptions