From b102f8e660c40f074419a03c7b0615b5cbead0bb Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 20 Jun 2025 16:43:30 +0900 Subject: Add Last-Modified header to HTTP responses --- tst/test_check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tst/test_check.py') diff --git a/tst/test_check.py b/tst/test_check.py index b07259f..aeb4a9e 100644 --- a/tst/test_check.py +++ b/tst/test_check.py @@ -60,13 +60,13 @@ async def test_check(domain, ca_name, not_after, after, trust_ca): summary = await get_cert_summary((domain, port), after, ca if trust_ca else None) if not trust_ca: - assert summary[0] is None + assert summary[1] is None assert 'self-signed certificate' in summary[5] elif not_after == SECONDS_AGO: - assert summary[0] is None + assert summary[1] is None assert 'certificate has expired' in summary[5] elif not printable(ca_name): - assert summary[0] is None + assert summary[1] is None assert 'control character' in summary[5] elif not_after > after: assert summary is None -- cgit 1.4.1