features.steps.r_003_steps¶
Python steps file for R_003.
Functions¶
|
Sets up a certificate that is near expiration. |
|
Ensures a certificate exists in an active state. |
|
Ensures a certificate exists and is in a revoked state. |
|
Navigates to the certificate management page for a given certificate. |
|
Initiates the renewal process for a certificate. |
|
Initiates the revocation process for a certificate. |
|
Verifies the certificate's expiration date has been updated. |
|
Verifies the certificate's status is marked as "revoked". |
|
Attempts to renew or revoke a non-existent certificate. |
|
Attempts to renew or revoke a certificate. |
Module Contents¶
- features.steps.r_003_steps.step_certificate_near_expiration(context, certificate_id)[source]¶
Sets up a certificate that is near expiration.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
- features.steps.r_003_steps.step_certificate_active(context, certificate_id)[source]¶
Ensures a certificate exists in an active state.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
- features.steps.r_003_steps.step_certificate_revoked(context, certificate_id)[source]¶
Ensures a certificate exists and is in a revoked state.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
Navigates to the certificate management page for a given certificate.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
- features.steps.r_003_steps.step_initiate_certificate_renewal(context)[source]¶
Initiates the renewal process for a certificate.
- Parameters:
context (runner.Context) – Behave context.
- Return type:
None
- features.steps.r_003_steps.step_initiate_certificate_revocation(context)[source]¶
Initiates the revocation process for a certificate.
- Parameters:
context (runner.Context) – Behave context.
- Return type:
None
- features.steps.r_003_steps.step_certificate_updated_expiration(context, certificate_id)[source]¶
Verifies the certificate’s expiration date has been updated.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
- features.steps.r_003_steps.step_certificate_status_revoked(context, certificate_id)[source]¶
Verifies the certificate’s status is marked as “revoked”.
- Parameters:
context (runner.Context) – Behave context.
certificate_id (str) – The ID of the certificate.
- Return type:
None
- features.steps.r_003_steps.step_attempt_nonexistent_certificate(context, renew_revoke, non_existent)[source]¶
Attempts to renew or revoke a non-existent certificate.
- Parameters:
context (runner.Context) – Behave context.
renew_revoke (str) – Action to perform (renew or revoke).
non_existent (str) – The non-existent certificate ID.
- Return type:
None
- features.steps.r_003_steps.step_attempt_certificate_action(context, renew_revoke, cert)[source]¶
Attempts to renew or revoke a certificate.
- Parameters:
context (runner.Context) – Behave context.
renew_revoke (str) – Action to perform (renew or revoke).
cert (str) – The certificate ID.
- Return type:
None