Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/c/ac-HEAD/test/malcom.py   ac(Download)
        self.director = urllib2.build_opener(
            MockHTTPHandler("image.bin"))
        self.request = AniChou.malcom.Image(self.url, self.cache)
 
    def testDouble(self):
        self.request.execute(self.director)
        locl = iter(self.request).next()
        self.assertEqual(os.path.getsize(locl), 28159)
        # From cache.
        req = AniChou.malcom.Image(self.url, self.cache)