features.steps.r_006_steps

Python steps file for R_006.

Functions

step_when_admin_initiates_backup(context)

Simulates the admin initiating a system backup.

step_then_system_confirms_backup(context)

Verifies that the system confirms the backup process has completed successfully.

step_then_backup_file_is_valid(context, backup_file)

Ensures the backup file is retrievable and valid.

step_when_admin_uploads_backup(context, backup_file)

Simulates the admin uploading a backup file for restoration.

step_then_system_restores_data(context)

Verifies that the system restores data successfully.

step_then_data_is_consistent(context)

Ensures the restored data is consistent with the original backup file contents.

step_when_admin_triggers_update(context)

Simulates the admin triggering a system update.

step_then_system_applies_update(context)

Verifies that the system downloads and applies the update.

step_then_system_verifies_integrity(context)

Ensures the system verifies its integrity and functionality after an update.

Module Contents

features.steps.r_006_steps.step_when_admin_initiates_backup(context)[source]

Simulates the admin initiating a system backup.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_then_system_confirms_backup(context)[source]

Verifies that the system confirms the backup process has completed successfully.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_then_backup_file_is_valid(context, backup_file)[source]

Ensures the backup file is retrievable and valid.

Parameters:
  • context (runner.Context) – Behave context.

  • backup_file (str) – The name of the backup file.

Return type:

None

features.steps.r_006_steps.step_when_admin_uploads_backup(context, backup_file)[source]

Simulates the admin uploading a backup file for restoration.

Parameters:
  • context (runner.Context) – Behave context.

  • backup_file (str) – The name of the backup file.

Return type:

None

features.steps.r_006_steps.step_then_system_restores_data(context)[source]

Verifies that the system restores data successfully.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_then_data_is_consistent(context)[source]

Ensures the restored data is consistent with the original backup file contents.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_when_admin_triggers_update(context)[source]

Simulates the admin triggering a system update.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_then_system_applies_update(context)[source]

Verifies that the system downloads and applies the update.

Parameters:

context (runner.Context) – Behave context.

Return type:

None

features.steps.r_006_steps.step_then_system_verifies_integrity(context)[source]

Ensures the system verifies its integrity and functionality after an update.

Parameters:

context (runner.Context) – Behave context.

Return type:

None