def test_check_ride_request_rider5(self): response = self.driver.check_ride_requests() assert response['code'] == response_codes.ALL_OK participation = utils.get_requested_participation(response['value']) assert participation['author']['username'] == self.rider6.username self.driver.ride_request = response['value']
def test_check_cancelled_ride_request_rider5(self): response = self.driver.check_ride_requests() assert response['code'] == response_codes.ALL_OK participation = utils.get_requested_participation(response['value']) assert not participation