Lines Matching refs:zoo
490 zoo = build('zoo', 'v1', http=http, developerKey=None,
503 zoo = build('zoo', 'v1', http=http, developerKey=None,
516 zoo = build('zoo', 'v1', http=http, developerKey='foo',
527 zoo = build('zoo', 'v1', http=http, cache_discovery=False)
528 self.assertTrue(hasattr(zoo, 'animals'))
675 zoo = build('zoo', 'v1', http=http)
677 request = zoo.query(
680 request = zoo.query(
684 request = zoo.query(
687 request = zoo.query(
693 self.assertRaises(TypeError, zoo.query, er=['one', 'five'])
697 zoo = build('zoo', 'v1', http=http)
698 request = zoo.query(trace='html', fields='description')
707 zoo = build('zoo', 'v1', http=http)
708 request = zoo.query(trace=None, fields='description')
716 zoo = build('zoo', 'v1', http=http)
717 request = zoo.animals().get(name='Lion')
726 zoo = build('zoo', 'v1', http=http)
727 request = zoo.animals().getmedia(name='Lion')
736 zoo = build('zoo', 'v1', http=http)
737 request = zoo.animals().patch(name='lion', body='{"description": "foo"}')
744 zoo = build('zoo', 'v1', http=self.http)
745 batch_request = zoo.new_batch_http_request()
763 zoo = build('zoo', 'v1', http=http, cache_discovery=False)
764 resp = zoo.animals().patch(
802 zoo = build('zoo', 'v1', http=self.http)
803 self.assertTrue(getattr(zoo, 'animals'))
805 request = zoo.animals().list(name='bat', projection="full")
813 zoo = build('zoo', 'v1', http=self.http)
814 self.assertTrue(getattr(zoo, 'animals'))
815 request = zoo.my().favorites().list(max_results="5")
823 zoo = build('zoo', 'v1', http=self.http)
824 self.assertTrue(getattr(zoo, 'animals'))
825 request = zoo.global_().print_().assert_(max_results="5")
831 zoo = build('zoo', 'v1', http=self.http)
832 self.assertTrue(getattr(zoo, 'query'))
833 request = zoo.query(q="foo")
840 zoo = build('zoo', 'v1', http=self.http)
841 doc = getattr(zoo.animals().insert, '__doc__')
846 zoo = build('zoo', 'v1', http=self.http)
847 request = zoo.animals().crossbreed(media_body=datafile('small.png'))
853 zoo = build('zoo', 'v1', http=self.http)
856 zoo.animals().insert(media_body=datafile('smiley.png'))
862 zoo.animals().insert(media_body=datafile('small.jpg'))
869 zoo = build('zoo', 'v1', http=self.http)
871 request = zoo.animals().insert(media_body=datafile('small.png'))
880 zoo = build('zoo', 'v1', http=self.http)
883 zoo.animals().insert(media_body=datafile('small-png'))
888 request = zoo.animals().insert(media_body=datafile('small-png'),
898 zoo = build('zoo', 'v1', http=self.http)
901 zoo.animals().insert(media_body=datafile('smiley.png'), body={})
907 zoo.animals().insert(media_body=datafile('small.jpg'), body={})
914 zoo = build('zoo', 'v1', http=self.http)
916 request = zoo.animals().insert(media_body=datafile('small.png'), body={})
940 zoo = build('zoo', 'v1', http=self.http)
942 request = zoo.animals().insert(body={})
947 zoo = build('zoo', 'v1', http=self.http)
950 request = zoo.animals().insert(media_body=media_upload, body={})
1007 zoo = build('zoo', 'v1', http=self.http)
1010 request = zoo.animals().insert(media_body=media_upload, body=None)
1055 zoo = build('zoo', 'v1', http=self.http)
1058 request = zoo.animals().insert(media_body=media_upload, body=None)
1081 zoo = build('zoo', 'v1', http=self.http)
1084 request = zoo.animals().insert(media_body=media_upload, body=None)
1100 zoo = build('zoo', 'v1', http=self.http)
1103 request = zoo.animals().insert(media_body=media_upload, body=None)
1142 zoo = build('zoo', 'v1', http=self.http)
1149 request = zoo.animals().insert(media_body=media_upload, body=None)
1166 zoo = build('zoo', 'v1', http=self.http)
1173 request = zoo.animals().insert(media_body=media_upload, body=None)
1195 zoo = build('zoo', 'v1', http=self.http)
1216 request = zoo.animals().insert(media_body=upload, body=None)
1225 zoo = build('zoo', 'v1', http=self.http)
1255 request = zoo.animals().insert(media_body=upload, body=None)
1276 zoo = build('zoo', 'v1', http=self.http)
1284 request = zoo.animals().insert(media_body=upload, body=None)
1299 zoo = build('zoo', 'v1', http=self.http)
1307 request = zoo.animals().insert(media_body=upload, body=None)
1347 zoo = build('zoo', 'v1', http=http)
1348 self.assertEqual(sorted(zoo.__dict__.keys()), sorted_resource_keys)
1350 pickled_zoo = pickle.dumps(zoo)
1368 self.assertEqual(sorted(zoo._dynamic_attrs), sorted(new_zoo._dynamic_attrs))
1369 self.assertEqual(zoo._baseUrl, new_zoo._baseUrl)
1370 self.assertEqual(zoo._developerKey, new_zoo._developerKey)
1371 self.assertEqual(zoo._requestBuilder, new_zoo._requestBuilder)
1372 self.assertEqual(zoo._resourceDesc, new_zoo._resourceDesc)
1373 self.assertEqual(zoo._rootDesc, new_zoo._rootDesc)
1414 zoo = build('zoo', 'v1', http=http)
1415 pickled_zoo = pickle.dumps(zoo)
1417 self.assertEqual(sorted(zoo.__dict__.keys()),
1424 zoo = build('zoo', 'v1', http=self.http)
1427 request = zoo.animals().insert(media_body=media_upload, body=None)
1518 zoo = build('zoo', 'v1', http=http)
1519 request = zoo.animals().get_media(name='Lion')