submissions.tests.test_views module

class submissions.tests.test_views.BaseContributorTestCase(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

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

class submissions.tests.test_views.PrefillUsingArXivIdentifierTest(methodName='runTest')[source]

Bases: submissions.tests.test_views.BaseContributorTestCase

setUp()[source]

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

test_still_200_ok_if_identifier_is_wrong()[source]
class submissions.tests.test_views.SubmissionDetailTest(methodName='runTest')[source]

Bases: submissions.tests.test_views.BaseContributorTestCase

setUp()[source]

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

class submissions.tests.test_views.SubmitReportTest(methodName='runTest')[source]

Bases: submissions.tests.test_views.BaseContributorTestCase

TEST_DATA = {'anonymous': 'on', 'clarity': '60', 'formatting': '4', 'grammar': '5', 'originality': '100', 'qualification': '3', 'recommendation': '3', 'remarks_for_editors': 'Lorem Ipsum1', 'report': 'Lorem Ipsum', 'requested_changes': 'Lorem Ipsum2', 'significance': '0', 'strengths': 'Lorem Ipsum3', 'validity': '60', 'weaknesses': 'Lorem Ipsum4'}
setUp()[source]

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