<reponame>Zephor5/zspider<filename>zspider/pipelines/test_result.py<gh_stars>10-100
# coding=utf-8

__author__ = "zephor"


class TestResultPipeLine(object):
    @classmethod
    def from_crawler(cls, crawler):
        crawler.spider.test_result = []
        return cls()

    @staticmethod
    def process_item(item, spider):
        spider.test_result.append(item)

# coding=utf-8

__author__ = "zephor"


class TestResultPipeLine(object):
    @classmethod
    def from_crawler(cls, crawler):
        crawler.spider.test_result = []
        return cls()

    @staticmethod
    def process_item(item, spider):
        spider.test_result.append(item)
# coding=utf-8