test_minutes_spider.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:vigilante 作者: VigilantePolitico 项目源码 文件源码
def setUp(self):
        self.spider = MinutesSpider()
        self.index = TextResponse(
            url=self.spider.start_urls[0],
            body=open('./tests/samples/minute_index.html').read(),
            encoding='utf-8'
        )
        self.response = TextResponse(
            url="http://mail.camara.rj.gov.br/APL/Legislativos/atas.nsf/" +
            "3f8037c08c436684032577040057cb8c/54ab5cc388ffcda5832580830059b178?OpenDocument",
            body=open('./tests/samples/minute_item.html').read(),
            encoding='utf-8'
        )  # 105ª Sessão Ordinária
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号