Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/917Dhj/DeepPaperNote
/ FakeFitz
Class
FakeFitz
tests/test_common.py:70–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
69
70
class
FakeFitz:
71
def
__init__(self, doc: FakePdfDoc) -> None:
72
self.doc = doc
73
74
def
open(self, path: Path) -> FakePdfDoc:
75
return
self.doc
76
77
78
def
test_extract_doi_from_url_like_text() -> None:
Callers
7
test_extract_pdf_sections_supports_chinese_headings
Function · 0.70
test_pdf_coverage_reports_page_limit_and_late_appendix
Function · 0.70
test_extract_appendix_index_reports_sections_and_captions
Function · 0.70
test_extract_local_pdf_hints_prefers_pdf_metadata_title_and_doi
Function · 0.70
test_extract_local_pdf_hints_falls_back_to_first_page_title
Function · 0.70
test_resolve_reference_local_pdf_with_extracted_doi_sets_high_identity_confidence
Function · 0.70
test_resolve_reference_local_pdf_artifact_stem_sets_low_identity_confidence
Function · 0.70
Calls
no outgoing calls
Tested by
7
test_extract_pdf_sections_supports_chinese_headings
Function · 0.56
test_pdf_coverage_reports_page_limit_and_late_appendix
Function · 0.56
test_extract_appendix_index_reports_sections_and_captions
Function · 0.56
test_extract_local_pdf_hints_prefers_pdf_metadata_title_and_doi
Function · 0.56
test_extract_local_pdf_hints_falls_back_to_first_page_title
Function · 0.56
test_resolve_reference_local_pdf_with_extracted_doi_sets_high_identity_confidence
Function · 0.56
test_resolve_reference_local_pdf_artifact_stem_sets_low_identity_confidence
Function · 0.56