'æµè¯äžé¢é£äžªç±äºäœç§¯è¿å°, èäžè¿å¥èœ¯CDNçPNGåŸç, èäŒè¢«ç¡¬éå'

def test_small_img_cdn_hard_rewrite(self):

    self.rv = self.client.get(self.url('/image/png'), environ_base=env(), headers=headers())
    self.assertEqual('image/png', self.rv.content_type, msg=self.dump())
    self.assertIn('\x89PNG', self.rv.data, msg=self.dump())
    self.assertEqual(8090, len(self.rv.data), msg=self.dump())
    with self.app.test_client() as c:
        self.rv2 = c.get(self.url('/'), environ_base=env(), headers=headers())
        self.assertIn('cdn2.zmirror-unittest.com/image/png', self.rv2.data, msg=self.dump())
