

def test_build_spider_registry_with_name(self):
    cfg = self.build_config(['test.util_module', 'zz'])
    reg = build_spider_registry(cfg)
    self.assertEqual(2, len(self))
    cfg = self.build_config(['test.util_module:SecondSpider', 'zz'])
    reg = build_spider_registry(cfg)
    self.assertEqual(1, len(reg))

dataset/ETHPy150Open lorien/grab/test/util_module.py UtilModuleTestCase.test_build_spider_registry_with_name/VarMisuse@38/58 `reg`->`self`