papers.testpages module

class papers.testpages.InstitutionPagesTest(methodName='runTest')[source]

Bases: papers.testpages.RenderingTest

test_dept()[source]
test_univ()[source]
class papers.testpages.PaperPagesTest(methodName='runTest')[source]

Bases: papers.testpages.RenderingTest

test_department_papers()[source]
test_index()[source]
test_invalid_orcid()[source]
test_journal()[source]
test_missing_info_in_pub()[source]
test_paper()[source]
test_paper_by_doi()[source]
test_paper_by_doi_orphan()[source]
test_paper_with_empty_slug()[source]

Papers may have titles with characters that are all ignored by slugify.

test_publisher_papers()[source]
test_researcher()[source]
test_researcher_blocked_orcid()[source]
test_researcher_no_name()[source]
test_researcher_orcid()[source]
test_researcher_with_empty_slug()[source]

Researchers may have names with characters that are all ignored by slugify.

test_search_name()[source]
test_search_no_parameters()[source]
class papers.testpages.RenderingTest(methodName='runTest')[source]

Bases: backend.tests.PrefilledTest

check404(*args, **kwargs)[source]
checkHtml(resp)[source]
checkPage(*args, **kwargs)[source]
checkPermanentRedirect(*args, **kwargs)[source]
checkUrl(url)[source]
getPage(*args, **kwargs)[source]
setUp()[source]