tinyweb/tests
lichenblankie 4de4435a85 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.
2026-06-05 05:26:52 +00:00
..
test_csrf.py pytest test suite 2026-06-05 05:26:52 +00:00
test_db_index_url.py pytest test suite 2026-06-05 05:26:52 +00:00
test_db_schema.py pytest test suite 2026-06-05 05:26:52 +00:00
test_fts_sanitizer.py pytest test suite 2026-06-05 05:26:52 +00:00
test_gateway_limits.py pytest test suite 2026-06-05 05:26:52 +00:00
test_handlers_pages.py pytest test suite 2026-06-05 05:26:52 +00:00
test_handlers_search.py pytest test suite 2026-06-05 05:26:52 +00:00
test_handlers_subs.py pytest test suite 2026-06-05 05:26:52 +00:00
test_handlers_tags.py pytest test suite 2026-06-05 05:26:52 +00:00
test_link_extraction.py pytest test suite 2026-06-05 05:26:52 +00:00
test_pagination.py pytest test suite 2026-06-05 05:26:52 +00:00
test_regressions.py pytest test suite 2026-06-05 05:26:52 +00:00
test_sharing_logic.py pytest test suite 2026-06-05 05:26:52 +00:00
test_ssrf.py pytest test suite 2026-06-05 05:26:52 +00:00
test_url_cleanup.py pytest test suite 2026-06-05 05:26:52 +00:00