papers.testnames module

class papers.testnames.MatchNamesTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_flattened_initials()[source]
test_hyphen()[source]
test_last_name()[source]
test_middle_initial()[source]
test_reverse_order()[source]
test_simple()[source]
test_unicode()[source]
class papers.testnames.NameSimilarityTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_matching()[source]
test_mismatch()[source]
test_multiple()[source]
test_reverse()[source]
test_symmetric()[source]
class papers.testnames.NameUnificationTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_composite_last_name(*args, **kwargs)[source]
test_duplicated()[source]
test_empty_first_name()[source]
test_fix_capitalization()[source]
test_flattened_initials()[source]
test_hyphens()[source]
test_name_splitting_error(*args, **kwargs)[source]
test_quotes()[source]
test_simple()[source]
test_uncommon_order()[source]
class papers.testnames.NormalizeNameWordsTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_comma()[source]
test_flattened()[source]
test_involutive()[source]
test_lower()[source]
test_simple()[source]
test_spacing()[source]
test_unicode()[source]
class papers.testnames.ParseCommaNameTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_collapsed_initials(*args, **kwargs)[source]
test_final_capitalized()[source]
test_final_initials()[source]
test_hard_cases(*args, **kwargs)[source]
test_initial_capitalized()[source]
test_initial_initials()[source]
test_middle_initials()[source]
test_simple()[source]
class papers.testnames.RecapitalizeWordTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_force()[source]
test_lower()[source]
test_recapitalize_word()[source]
test_unicode()[source]
class papers.testnames.ShallowerNameSimilarityTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_hyphen()[source]
test_malformed()[source]
test_matching()[source]
test_mismatch()[source]
test_multiple()[source]
test_reverse()[source]
test_symmetric()[source]
test_unicode()[source]
class papers.testnames.SplitNameWordsTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_abbreviation()[source]
test_awkward_spacing()[source]
test_flattened()[source]
test_probably_not_flattened()[source]
test_simple()[source]
test_strange_characters(*args, **kwargs)[source]
test_unicode()[source]
class papers.testnames.UnifyNameListsTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_dirty_input()[source]
test_duplicates()[source]
test_insertion()[source]
test_inverted()[source]
test_same_last_name()[source]
test_shallower_similarity()[source]
test_simple()[source]
papers.testnames.load_tests(loader, tests, ignore)[source]