def diff(self, r, f): h2o.verboseprint("checking r and f:", r, f) for (r_chunk, f_chunk) in itertools.izip(r.iter_content(1024), h2o.iter_chunked_file(f, 1024)): # print "\nr_chunk:", r_chunk, # print "\nf_chunk:", f_chunk self.assertEqual(r_chunk, f_chunk)
def diff(self, r, f): for (r_chunk, f_chunk) in itertools.izip(r.iter_content(1024), h2o.iter_chunked_file(f, 1024)): self.assertEqual(r_chunk, f_chunk)
def diff(self,r, f): for (r_chunk,f_chunk) in itertools.izip(r.iter_content(1024), h2o.iter_chunked_file(f, 1024)): self.assertEqual(r_chunk,f_chunk)
def diff(self,r, f): h2o.verboseprint("checking r and f:", r, f) for (r_chunk,f_chunk) in itertools.izip(r.iter_content(1024), h2o.iter_chunked_file(f, 1024)): # print "\nr_chunk:", r_chunk, # print "\nf_chunk:", f_chunk self.assertEqual(r_chunk,f_chunk)