backend.globaleaks.tests.test_api

Module Contents

Classes

TestAPI
class backend.globaleaks.tests.test_api.TestAPI[source]

Bases: globaleaks.tests.helpers.TestGL

setUp(self)[source]
test_api_spec(self)[source]
test_get_with_no_language_header(self)[source]
test_get_with_gl_language_header(self)[source]
test_get_with_accept_language_header(self)[source]
test_get_with_gl_language_header_and_accept_language_header_1(self)[source]
test_get_with_gl_language_header_and_accept_language_header_2(self)[source]
test_get_with_gl_language_header_and_accept_language_header_3(self)[source]
test_status_codes_assigned(self)[source]
test_request_state_and_redirects(self)[source]