tinyweb/tests
Derick Phan eb124305de Add pytest test suite
174 tests covering URL normalization, FTS5 query sanitization, SSRF/CSRF
guards, sharing-mode logic, DB schema and upsert paths, handler
end-to-end flows, and gateway body-size / mesh-whitelist guards. Each
recent bug-fix commit (6ffd38d, 1bc695f, 8dffd8c) has an explicit
regression test in test_regressions.py. One xfail documents a minor
latent bug in clean_url where port 80 is not stripped from upgraded
https URLs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-05 04:57:54 +00:00
..
test_csrf.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_db_index_url.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_db_schema.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_fts_sanitizer.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_gateway_limits.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_handlers_pages.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_handlers_search.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_handlers_subs.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_handlers_tags.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_link_extraction.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_pagination.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_regressions.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_sharing_logic.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_ssrf.py Add pytest test suite 2026-06-05 04:57:54 +00:00
test_url_cleanup.py Add pytest test suite 2026-06-05 04:57:54 +00:00