Esempio n. 1
0
 def test_simple_list2(self):
     authors = ['Foo, D', 'Bar, B']
     expected = 'Foo, D. and Bar, B.'
     result = get_authors_bibtex(authors)
     self.assertEqual(expected, result)
Esempio n. 2
0
 def test_simple_list(self):
     authors = ['Foobar, D']
     expected = 'Foobar, D.'
     result = get_authors_bibtex(authors)
     self.assertEqual(expected, result)