def test_browse_field_set_global_limit(self): fields = _get_browse_fields(self.collection.id) self.assertEqual(1, len(fields)) self.assertEqual(self.creatorField.id, fields[0].id)
def test_browse_field_set_collection_limit(self): fields = _get_browse_fields(self.collection.id) self.assertEqual(1, len(fields)) self.assertEqual(self.titleField.id, fields[0].id)
def test_browse_field_set(self): fields = _get_browse_fields(self.collection.id) self.assertEqual(3, len(fields))