

def test_load_spider_class_error(self):
    cfg = self.build_config(['test.util_module'])
    reg = build_spider_registry(cfg)
    self.assertRaises(SpiderInternalError, load_spider_class, cfg, 'first_spider_zzz')

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