Bases: unittest.case.TestCase
Requests against the main search API.
-
SCHEMA_PATH
= '/home/jaimie/workspace/arxiv/arxiv-search/docs/source/schema/resources/DocumentSet.json'
-
setUp
()[source]
Instantiate and configure an API app.
-
test_request_without_token
()[source]
No auth token is provided on the request.
-
test_with_token_lacking_scope
()[source]
Client auth token lacks required public read scope.
-
test_with_valid_token
(mock_controller)[source]
Client auth token has required public read scope.
-
test_with_valid_token_limit_fields
(mock_controller)[source]
Client auth token has required public read scope.