qubesadmin.tests.vm package

Submodules

qubesadmin.tests.vm.actions module

class qubesadmin.tests.vm.actions.TC_00_Actions(methodName='runTest')[source]

Bases: VMTestCase

test_000_start()[source]
test_001_shutdown()[source]
test_002_kill()[source]
test_003_pause()[source]
test_004_unpause()[source]
test_005_suspend()[source]
test_006_resume()[source]
test_010_run_linux()[source]
test_011_run_windows()[source]
test_015_run_with_args_shell()[source]
test_016_run_with_args_exec()[source]

qubesadmin.tests.vm.dispvm module

class qubesadmin.tests.vm.dispvm.TC_00_Dispvm(methodName='runTest')[source]

Bases: QubesTestCase

test_000_local_create_default()[source]
test_001_local_create_specific()[source]
test_002_local_no_run_cleanup()[source]
test_010_remote_create_default()[source]
test_011_remote_create_specific()[source]
test_012_remote_no_run_cleanup()[source]

qubesadmin.tests.vm.properties module

class qubesadmin.tests.vm.properties.TC_00_Properties(methodName='runTest')[source]

Bases: VMTestCase

test_000_list()[source]
test_001_get_str()[source]
test_002_get_int()[source]
test_003_get_bool()[source]
test_004_get_vm()[source]
test_005_get_none_vm()[source]
test_006_get_none_bool()[source]
test_007_get_none_int()[source]
test_008_get_none_str()[source]
test_010_get_default()[source]
test_011_get_default()[source]
test_012_get_invalid()[source]
test_020_set_str()[source]
test_021_set_int()[source]
test_022_set_bool()[source]
test_023_set_vm()[source]
test_024_set_none()[source]
test_030_reset()[source]
test_031_reset()[source]
test_040_get_default()[source]
test_041_get_default_int()[source]
test_042_get_default_none()[source]
test_050_get_all()[source]
test_051_get_all_fallback()[source]
class qubesadmin.tests.vm.properties.TC_01_SpecialCases(methodName='runTest')[source]

Bases: VMTestCase

test_000_get_name()[source]
test_001_set_name()[source]
test_010_power_state_running()[source]
test_011_power_state_paused()[source]
test_012_power_state_halted()[source]
test_012_power_state_transient()[source]
test_015_mem()[source]

qubesadmin.tests.vm.storage module

class qubesadmin.tests.vm.storage.TestVMVolumes(methodName='runTest')[source]

Bases: VMTestCase

test_000_list_volumes()[source]
test_001_volume_get()[source]

Module contents

class qubesadmin.tests.vm.VMTestCase(methodName='runTest')[source]

Bases: QubesTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.