code: def test_sqlite_relative_path(app: Flask, model_class: t.Any) -> None:
      app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///test.db"
      db = SQLAlchemy(app, model_class=model_class)
      db.create_all()
      assert not isinstance(db.engine.pool, sa.pool.StaticPool)
      db_path = db.engine.url.database
      assert db_path.startswith(app.instance_path)  # type: ignore[union-attr]
      assert os.path.exists(db_path)
  
imports: from __future__ import annotations
  import os.path
  import typing
  import unittest.mock
  import pytest
  import sqlalchemy
  import sqlalchemy.pool
  from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
label_desc: Use image node_id 9 for calling a global function with example usage: test_sqlite_relative_path(app, model_class) without return types