pulp_smash.tests.pulp3.pulpcore.api_v3.test_status

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

Test the status page.

class pulp_smash.tests.pulp3.pulpcore.api_v3.test_status.StatusTestCase(methodName='runTest')

Tests related to the status page.

This test explores the following issues:

setUp()

Make an API client.

test_get_authenticated()

GET the status path with valid credentials.

Verify the response with verify_get_response().

test_get_unauthenticated()

GET the status path with no credentials.

Verify the response with verify_get_response().

test_post_authenticated()

POST the status path with valid credentials.

Assert an error is returned.

verify_get_response(status)

Verify the response to an HTTP GET call.

Verify that several attributes and have the correct type or value.