code: def test_custom_route_pattern(custom_pages_client, path, expected):
      response = custom_pages_client.get(path)
      assert response.status == 200
      assert response.text.strip() == expected
  
file_path: datasette/tests/test_custom_pages.py
imports: import pathlib
  import pytest
  from .fixtures import make_app_client
label_desc: Use image node_id 12 for calling a global function with example usage: test_custom_route_pattern(custom_pages_client, path, expected) without return types