fixed example
Some checks failed
Python CI / test (3.10) (push) Has been cancelled
Python CI / test (3.12) (push) Has been cancelled
Python CI / test (3.13) (push) Has been cancelled

This commit is contained in:
Duncan Tourolle 2025-11-09 17:21:17 +01:00
parent 50b9aa5431
commit 9ae8ddddca
2 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

View File

@ -27,9 +27,9 @@ sys.path.insert(0, str(Path(__file__).parent.parent))
def create_book_catalog_html():
"""Create HTML for a book catalog table with actual <img> tags."""
# Get base path for images - use absolute paths for the img src
Path(__file__).parent.parent / "tests" / "data"
data_path = Path(__file__).parent.parent / "tests" / "data"
html = """
html = f"""
<html>
<body>
<table>
@ -76,9 +76,9 @@ def create_book_catalog_html():
def create_product_showcase_html():
"""Create HTML for a product showcase table with images."""
Path(__file__).parent.parent / "tests" / "data"
data_path = Path(__file__).parent.parent / "tests" / "data"
html = """
html = f"""
<html>
<body>
<table>