diff --git a/libbmc/tests/src/doi.bib b/libbmc/tests/src/doi.bib index c3d98bc..77a9350 100644 --- a/libbmc/tests/src/doi.bib +++ b/libbmc/tests/src/doi.bib @@ -8,5 +8,5 @@ number = {4}, author = {Yan-Hua Hou and Lev P. Pitaevskii and Sandro Stringari}, title = {First and second sound in a highly elongated Fermi gas at unitarity}, - journal = {Physical Review A} + journal = {Phys. Rev. A} } \ No newline at end of file diff --git a/libbmc/tests/test_backend.py b/libbmc/tests/test_backend.py index e73daf1..e81b77f 100644 --- a/libbmc/tests/test_backend.py +++ b/libbmc/tests/test_backend.py @@ -123,7 +123,7 @@ Lattice}, def test_getBibtex_id(self): bibtexAppend(self.bibtex_article) - got = getBibtex(self.bibtex_article['ID'], file_id='ID') + got = getBibtex(self.bibtex_article['ID'], file_id='id') self.assertEqual(got, self.bibtex_article) def test_getBibtex_file(self): diff --git a/libbmc/tests/test_tools.py b/libbmc/tests/test_tools.py index 20023cc..5656e90 100644 --- a/libbmc/tests/test_tools.py +++ b/libbmc/tests/test_tools.py @@ -19,7 +19,7 @@ class TestTools(unittest.TestCase): self.assertEqual(slugify(u"à&é_truc.pdf"), "ae_trucpdf") def test_parsed2Bibtex(self): - parsed = {'type': 'article', 'id': 'test', 'field1': 'test1', + parsed = {'ENTRYTYPE': 'article', 'ID': 'test', 'field1': 'test1', 'field2': 'test2'} expected = ('@article{test,\n\tfield1={test1},\n' + '\tfield2={test2},\n}\n\n')