def test_invalid_name(self):
        reg = display_fields.FieldRegistry()
        self.assertRaises(display_fields.FieldRegistryError, reg.create, 'foo')
Creating an invalid field should fail.
dataset/ETHPy150Open rbarrois/mpdlcd/tests/test_display_fields.py/FieldRegistryTestCase.test_invalid_name