

def test_load_spider_class(self):
    cfg = self.build_config(['test.util_module'])
    SPIDER_REGISTRY.clear()
    cls = load_spider_class(cfg, 'first_spider')
    self.assertEqual(cls, FirstSpider)

dataset/ETHPy150Open lorien/grab/test/util_module.py UtilModuleTestCase.test_load_spider_class/original