Example #1
0
class MockProcessor(Processor):

    def __init__(self):
        self._io = FeedIO()

    def extract(self, src_url, src_type):
        self._buf = self._io.read_data(src_url, src_type)

    def process(self):
        log.info("processing")
Example #2
0
 def __init__(self):
     self._io = FeedIO()