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)
def test_simple_list(self): authors = ['Foobar, D'] expected = 'Foobar, D.' result = get_authors_bibtex(authors) self.assertEqual(expected, result)