class ApiTest(object): ranks = {} tourtypes = {'i': 1, 'p': 2, 't': 4} def get_url(self): pass def get_method(self): pass def get_request(self, tour_rank, tour_type, tour_boards, cont_count, cont_rank, override=None): pass def parse_response(self, response_body): pass