e2e_tests.test_warp_diag package

Submodules

e2e_tests.test_warp_diag.test_warp_diag module

class e2e_tests.test_warp_diag.test_warp_diag.TestWarpDiag

Bases: object

Class to contain integration tests for warp-diag

failures: list[AssertionError]
system: SystemActions
test_name: str
test_warp_diag_command_succeeds(warp: WarpActions, system: SystemActions, request: FixtureRequest, registration_type: str, connect: bool)

Test will confirm that basic command warp-diag succeeds for supported registration types and connection states

Test Steps:
  1. Connect or disconnect WARP

  2. Issue warp-diag command and ensure command succeeds

  3. Verify warp-diag archive file content

validate_warp_diag(remote_warp_diag_path: PurePath)

Validates the warp_diag zip file

Parameters:

warp_diag_path – Path to warp-diag file that is to be validated

Raises:

AssertionError – raised if there is an error in the warp-diag files