Lines Matching refs:datafile
181 def datafile(filename): function
213 upload = MediaFileUpload(datafile('small.png'))
216 upload = MediaFileUpload(datafile('empty'))
221 datafile('small.png'), chunksize=500, resumable=True)
239 datafile('small.png'), mimetype='image/png', chunksize=-2,
254 datafile('small.png'), chunksize=500, resumable=True)
283 fd = FileIO(datafile('small.png'), 'r')
293 f = open(datafile('small.png'), 'rb')
304 f = open(datafile('small.png'), 'rb')
315 f = open(datafile('small.png'), 'rb')
329 f = open(datafile('small.png'), 'rb')
340 f = open(datafile('small.png'), 'rb')
353 f = open(datafile('small.png'), 'rb')
421 http = HttpMock(datafile('zoo.json'), {'status': '200'})
834 http = HttpMock(datafile('zoo.json'), headers={'status': '200'})
889 with open(datafile('small.png'), 'rb') as small_png_file:
1123 f = open(datafile('small.png'), 'rb')
1214 datafile('small.png'), chunksize=500, resumable=True)
1518 http = HttpMock(datafile('zoo.json'))
1523 http = HttpMock(datafile('bad_request.json'), {'status': '400'})