pulp_smash.tests.pulp3.pulpcore.api_v3.test_api_docs

Location: Pulp SmashAPI Documentationpulp_smash.tests.pulp3.pulpcore.api_v3.test_api_docs

Test related to the api docs page.

class pulp_smash.tests.pulp3.pulpcore.api_v3.test_api_docs.ApiDocsTestCase(methodName='runTest')

Test whether API auto generated docs are available.

This test targets the following issues:

setUp()

Create an API Client.

test_http_method()

Get API documentation with an HTTP method other than GET.

Assert an error is returned.

test_no_credentials()

Get API documentation with no credentials.

Assert the API documentation is returned.

test_valid_credentials()

Get API documentation with valid credentials.

Assert the API documentation is returned.