예제 #1
0
 def test_authornames_campbell_wilson(self):
     """bibindex engine - get author family name words for Campbell-Wilson, D"""
     self.assertEqual(
         ['campbell', 'wilson', 'campbell-wilson'],
         bibindex_engine.get_author_family_name_words_from_phrase(
             'Campbell-Wilson, D'))
예제 #2
0
 def test_authornames_doe_john(self):
     """bibindex engine - get author family name words for Doe, John"""
     self.assertEqual([
         'doe',
     ], bibindex_engine.get_author_family_name_words_from_phrase(
         'Doe, John'))
 def test_authornames_doe_john(self):
     """bibindex engine - get author family name words for Doe, John"""
     self.assertEqual(['doe',],
       bibindex_engine.get_author_family_name_words_from_phrase('Doe, John'))
 def test_authornames_campbell_wilson(self):
     """bibindex engine - get author family name words for Campbell-Wilson, D"""
     self.assertEqual(['campbell', 'wilson', 'campbell-wilson'],
       bibindex_engine.get_author_family_name_words_from_phrase('Campbell-Wilson, D'))
예제 #5
0
 def test_authornames_john_doe(self):
     """bibindex engine - get author family name words for John Doe"""
     self.assertEqual(["doe"], bibindex_engine.get_author_family_name_words_from_phrase("John Doe"))