test_task_identities.py 文件源码

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

项目:mordred 作者: grimoirelab 项目源码 文件源码
def off_test_load_orgs(self):
        """ Test loading of orgs in SH """
        setup_http_server()

        config = Config(CONF_FILE)
        task = TaskIdentitiesLoad(config)
        task.execute()
        # Check the number of orgs loaded
        norgs = len(api.registry(self.sh_db))
        self.assertEqual(norgs, 20)

    # @httpretty.activate
    # TODO: remote loading
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号