Change function name so it does not mess up with pytest autodiscover

This commit is contained in:
Julia Medina 2014-04-03 05:58:15 -03:00
parent 81187feaac
commit 1186969715
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ from scrapy.contrib.loader import ItemLoader
class TestItem(Item):
name = Field()
def test_processor(x):
def _test_procesor(x):
return x + x
class TestLoader(ItemLoader):
default_item_class = TestItem
name_out = staticmethod(test_processor)
name_out = staticmethod(_test_procesor)
class MarshalFifoDiskQueueTest(t.FifoDiskQueueTest):