theses.tests.test_views module

class theses.tests.test_views.TestThesisDetail(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_visits_valid_thesis_detail()[source]

A visitor does not have to be logged in to view a thesis link.

Bases: django.test.testcases.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_response_when_not_logged_in()[source]

A visitor that is not logged in cannot view this page and is redirected to login.

test_response_when_logged_in()[source]
class theses.tests.test_views.TestVetThesisLinkRequests(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_response_when_not_logged_in()[source]
test_response_regular_contributor()[source]

A Contributor needs to be in the Vetting Editors group to be able to vet submitted thesis links.

test_response_vetting_editor()[source]
class theses.tests.test_views.TestTheses(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_empty_search_query()[source]
test_search_query_on_author()[source]