feat: locks/replace/compare/permalinks; perf: virtualization, LQIP, caching, diagnostics; add tests, docs, and issue/PR templates (flags OFF)

This commit is contained in:
matt 2025-08-28 14:57:22 -07:00
parent f8c6b5c07e
commit 721e1884af
41 changed files with 2960 additions and 143 deletions

View file

@ -0,0 +1,12 @@
import importlib
from starlette.testclient import TestClient
def test_compare_options_include_mtime_attribute():
app_module = importlib.import_module('code.web.app')
client = TestClient(app_module.app)
r = client.get('/decks/compare')
assert r.status_code == 200
body = r.text
# Ensure at least one option contains data-mtime attribute (present even with empty list structure)
assert 'data-mtime' in body