MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / test_extract_doi_from_url_like_text

Function test_extract_doi_from_url_like_text

tests/test_common.py:78–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def test_extract_doi_from_url_like_text() -> None:
79 text = "Published version: https://doi.org/10.1038/s44184-025-00175-1."
80 assert extract_doi(text) == "10.1038/s44184-025-00175-1"
81
82
83def test_extract_arxiv_id_strips_version() -> None:

Callers

nothing calls this directly

Calls 1

extract_doiFunction · 0.90

Tested by

no test coverage detected