code: def test_custom_table_include():
      with make_app_client(
          template_dir=str(
              pathlib.Path(__file__).parent / "test_templates"
          )
      ) as client:
          response = client.get("/fixtures/complex_foreign_keys")
          assert response.status == 200
          assert (
              '<div class="custom-table-row">'
              '1 - 2 - <a href="/fixtures/simple_primary_key/1">hello</a> <em>1</em>'
              "</div>"
          ) == str(
              Soup(response.text, "html.parser").select_one(
                  "div.custom-table-row"
              )
          )
  
file_path: datasette/tests/test_table_html.py
imports: from datasette.app import Datasette, Database
  from bs4 import BeautifulSoup
  from .fixtures import app_client, make_app_client
  import pathlib
  import pytest
  import urllib.parse
  from .utils import assert_footer_links, inner_html
label_desc: Use image node_id 2 for calling a global function with example usage: test_custom_table_include() without return types