code: def test_should_respect_page_size_limit_default(self, session):
      import_errors = [
          ImportError(
              filename=f"/tmp/file_{i}.py",
              stacktrace="Lorem ipsum",
              timestamp=timezone.parse(self.timestamp, timezone="UTC"),
          )
          for i in range(1, 110)
      ]
      session.add_all(import_errors)
      session.commit()
      response = self.client.get(
          "/api/v1/importErrors",
          environ_overrides={"REMOTE_USER": "test"},
      )
      assert response.status_code == 200
      assert len(response.json["import_errors"]) == 100
  
imports: from __future__ import annotations
  from datetime import timedelta
  import pytest
  from airflow.api_connexion.exceptions import EXCEPTIONS_LINK_MAP
  from airflow.models.errors import ImportError
  from airflow.security import permissions
  from airflow.utils import timezone
  from airflow.utils.session import provide_session
  from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user
  from tests.test_utils.config import conf_vars
  from tests.test_utils.db import clear_db_import_errors
label_desc: Use image node_id 2 for calling the TestGetImportErrorsEndpointPagination obj's underlying member method code with example usage: obj.test_should_respect_page_size_limit_default(session) without return types