def fetcher(self) -> Fetcher:
raise NotImplementedError()
- def testReplies(self) -> None:
- replies = list(paperdoorknob.replies(
- paperdoorknob.parse(self.fetcher().fetch(self.url()))))
- for r in replies:
- ApplyDOMFilters('NoEdit,NoFooter', r)
- assert [r.text.strip() for r in replies] == [
- "This is glowfic",
- "You sure?",
- "Pretty sure."]
-
def testProcess(self) -> None:
buf = io.BytesIO()
spec = Spec(