def test_after_download(self): i = IDCATRDFHarvester() content = 'some.content' values = i.after_download(content, {}) eq_(values[0], content) eq_(values[1], [])
def test_before_download(self): i = IDCATRDFHarvester() url = 'http://some.url' values = i.before_download(url, {}) eq_(values[0], url) eq_(values[1], [])