示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 def test_browse_field_set(self):
     fields = _get_browse_fields(self.collection.id)
     self.assertEqual(3, len(fields))
示例#4
0
 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)
示例#5
0
 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)
示例#6
0
 def test_browse_field_set(self):
     fields = _get_browse_fields(self.collection.id)
     self.assertEqual(3, len(fields))