← Về thư mục
scripts/test_verification_cache.py
- cache · function · L20-L25 — def cache(tmp_path, monkeypatch)
- test_put_then_get_round_trip · function · L28-L32 — def test_put_then_get_round_trip(cache)
- test_miss_returns_none · function · L35-L36 — def test_miss_returns_none(cache)
- test_distinct_resolvers_same_citation_are_independent · function · L39-L43 — def test_distinct_resolvers_same_citation_are_independent(cache)
- test_distinct_query_form_same_resolver_independent · function · L46-L52 — def test_distinct_query_form_same_resolver_independent(cache)
- test_put_overwrites_same_key · function · L55-L58 — def test_put_overwrites_same_key(cache)
- test_expired_entry_returns_none · function · L61-L84 — def test_expired_entry_returns_none(tmp_path, monkeypatch)
- test_fresh_entry_within_ttl_returns_value · function · L87-L108 — def test_fresh_entry_within_ttl_returns_value(tmp_path, monkeypatch)
- test_invalidate_removes_all_resolvers_for_citation · function · L111-L121 — def test_invalidate_removes_all_resolvers_for_citation(cache)
- test_invalidate_unknown_citation_is_noop · function · L124-L126 — def test_invalidate_unknown_citation_is_noop(cache): # Should not raise.
- test_env_path_override_is_honored · function · L129-L136 — def test_env_path_override_is_honored(tmp_path, monkeypatch)
- test_explicit_path_arg_overrides_env · function · L139-L148 — def test_explicit_path_arg_overrides_env(tmp_path, monkeypatch)
- test_wal_mode_enabled · function · L151-L156 — def test_wal_mode_enabled(cache)
- test_response_roundtrips_nested_structure · function · L159-L168 — def test_response_roundtrips_nested_structure(cache)
- test_corrupted_json_payload_is_miss · function · L171-L190 — def test_corrupted_json_payload_is_miss(tmp_path, monkeypatch)
- test_non_dict_payload_is_miss · function · L193-L213 — def test_non_dict_payload_is_miss(tmp_path, monkeypatch)