test_bibtex_entry_from_pmid.py 208 B

1234567
  1. from pubmed_bibtex import bibtex_entry_from_pmid
  2. from conftest import TEST_PMID, TEST_BIBTEX_ENTRY
  3. def test_bibtex_entry_from_pmid():
  4. assert bibtex_entry_from_pmid(pmid=TEST_PMID) == TEST_BIBTEX_ENTRY