← Về thư mục
tests/research-lookup/test_research_lookup.py
- source · function · L30-L51 — def source( index: int, *, title: str | None = None, text: str | None = None, extracted: bool = False, ) -> dict
- RoutingTests · class · L54-L256 — class RoutingTests(unittest.TestCase)
- test_default_backend_is_search_and_parallel_alias_is_research · method · L56-L61 — def test_default_backend_is_search_and_parallel_alias_is_research(self, _which)
- test_chat_is_available_but_never_selected_by_default · method · L65-L70 — def test_chat_is_available_but_never_selected_by_default(self, _which)
- test_explicit_chat_preserves_content_basis_and_citations · method · L74-L123 — def test_explicit_chat_preserves_content_basis_and_citations(self, _which)
- FakeResponse · class · L77-L103 — class FakeResponse
- raise_for_status · method · L78-L79 — def raise_for_status(self)
- json · method · L81-L103 — def json(self)
- test_parser_and_class_default_to_sixty_references · method · L126-L137 — def test_parser_and_class_default_to_sixty_references(self, _which)
- test_nonacademic_lookup_uses_one_search_without_extract · method · L140-L163 — def test_nonacademic_lookup_uses_one_search_without_extract(self, _which)
- fake_cli · function · L144-L153 — def fake_cli(args, *, timeout=None)
- test_academic_lookup_runs_facets_and_batched_extract · method · L166-L232 — def test_academic_lookup_runs_facets_and_batched_extract(self, _which)
- fake_cli · function · L177-L210 — def fake_cli(args, *, timeout=None)
- test_perplexity_failure_fallback_is_opt_in · method · L236-L256 — def test_perplexity_failure_fallback_is_opt_in(self, _which)
- PacketTests · class · L259-L378 — class PacketTests(unittest.TestCase)
- test_deduplication_merges_doi_url_and_title_records · method · L260-L281 — def test_deduplication_merges_doi_url_and_title_records(self)
- test_packet_has_manuscript_artifacts_and_never_pads_shortfall · method · L283-L314 — def test_packet_has_manuscript_artifacts_and_never_pads_shortfall(self)
- test_retracted_reference_is_marked_for_exclusion · method · L316-L337 — def test_retracted_reference_is_marked_for_exclusion(self)
- test_save_packet_writes_all_expected_artifacts · method · L339-L369 — def test_save_packet_writes_all_expected_artifacts(self)
- test_existing_citation_extraction_remains_available · method · L371-L378 — def test_existing_citation_extraction_remains_available(self)