code: def test_first_page() -> None:
      p = RangePagination()
      assert p.page == 1
      assert p.per_page == 10
      assert p.total == 150
      assert p.pages == 15
      assert not p.has_prev
      assert p.prev_num is None
      assert p.has_next
      assert p.next_num == 2
  
imports: from __future__ import annotations
  import typing
  import pytest
  from flask import Flask
  from werkzeug.exceptions import NotFound
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.pagination import Pagination
label_desc: Use image node_id 1 for calling a global function with example usage: test_first_page() without return types