def METHOD_NAME(self):
    "Test data generator"
    from biostar.recipes import const
    data = auth.create_data(self.project, path=__file__)
    display_type = const.DROPDOWN
    json_data = dict(display=display_type, value=data.name,
                     source= 'PROJECT')
    field = factory.dynamic_field(json_data, project=self.project)
    if not field:
        self.assertFalse(f"field generator for display={display_type} failed")