papers.tests module

class papers.tests.InstitutionTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_invalid_country_code()[source]
test_too_long()[source]
test_valid()[source]
class papers.tests.NameTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_max_length()[source]
class papers.tests.OaiRecordTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

classmethod setUpClass()[source]
test_find_duplicate_records_invalid_url()[source]
class papers.tests.PaperTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

classmethod setUpClass()[source]
test_attributions_preserved_by_merge()[source]
test_create_by_doi()[source]
test_create_by_hal_id()[source]
test_create_by_identifier()[source]
test_create_invalid_doi()[source]
test_create_no_authors()[source]
test_merge()[source]
test_publication_pdf_url()[source]
test_set_researcher()[source]
class papers.tests.ResearcherTest(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_creation()[source]
test_empty_name()[source]
test_institution()[source]
test_institution_match()[source]
test_name_conflict()[source]
test_refresh()[source]
papers.tests.load_tests(loader, tests, ignore)[source]