def setUp(self): self.parser = CaseParser() self.parser.feed(CaseDetails.CASE_X1)
def setUp(self): self.parser = CaseParser() self.parser.feed(CaseDetails.CASE_PARKING_VIOLATION)
def setUp(self): self.parser = CaseParser() self.parser.feed(CaseDetails.CASE_WITHOUT_FINANCIAL_SECTION)
def setUp(self): self.parser = CaseParser() self.parser.feed(CaseDetails.CASE_WITHOUT_DISPOS)
def __parse_case(self, case): case_parser = CaseParser() response = self.session.get(case.case_detail_link) case_parser.feed(response.text) return case_parser