tests.test_app module

class tests.test_app.AppTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

class tests.test_app.TestGetEPrintEvents(methodName='runTest')[source]

Bases: tests.test_app.AppTestCase

Requests for e-print events.

test_request_for_existant_eprint(mock_CanonicalStore)[source]

A request is received for an existant e-print.

test_request_for_nonexistant_eprint(mock_CanonicalStore)[source]

Get events for a nonexistant e-print.

class tests.test_app.TestGetEPrintPDF(methodName='runTest')[source]

Bases: tests.test_app.AppTestCase

Requests for e-print PDFs.

test_request_for_existant_eprint(mock_CanonicalStore)[source]

A request is received for an existant e-print.

test_request_for_nonexistant_eprint(mock_CanonicalStore)[source]

Get PDF for a nonexistant e-print.