code: def test_create(client, auth, app):
      auth.login()
      assert client.get("/create").status_code == 200
      client.post("/create", data={"title": "created", "body": ""})
  
      with app.app_context():
          select = db.select(db.func.count(Post.id))
          post_count = db.session.execute(select).scalar()
          assert post_count == 2
  
file_path: flask-sqlalchemy/examples/flaskr/tests/test_blog.py
imports: import pytest
  from flaskr import db
  from flaskr.auth.models import User
  from flaskr.blog.models import Post
label_desc: Use image node_id 5 for calling a global function with example usage: test_create(client, auth, app) without return types