(self)
| 127 | assert info["source"] == "figshare" |
| 128 | |
| 129 | def test_datacite_fallback(self): |
| 130 | ident = IdentifierModule() |
| 131 | with patch.object(ident, "_query_datacite", |
| 132 | return_value={"source": "datacite", "doi": "10.5061/dryad.abc"}): |
| 133 | info = ident._extract_zenodo_info("10.5061/dryad.abc") |
| 134 | assert info["source"] == "datacite" |
| 135 | |
| 136 | |
| 137 | class TestIdentifierPubMed: |
nothing calls this directly
no test coverage detected