mcvirt.test.node package

Submodules

mcvirt.test.node.network_tests module

class mcvirt.test.node.network_tests.NetworkTests(methodName='runTest')[source]

Bases: mcvirt.test.test_base.TestBase

Test suite for performing tests on the network class

static suite()[source]

Return a test suite of the network tests

test_create()[source]

Test the creation of network through the argument parser

test_delete()[source]

Test deleting a network through the argument parser

test_delete_non_existent()[source]

Attempt to delete a non-existent network

test_delete_utilized()[source]

Attempt to remove a network that is in use by a VM

test_duplicate_name_create()[source]

Test attempting to create a network with a duplicate name through the argument parser

test_list()[source]

Attempt to use the parser to list the networks

mcvirt.test.node.node_tests module

class mcvirt.test.node.node_tests.NodeTests(methodName='runTest')[source]

Bases: mcvirt.test.test_base.TestBase

Provide unit tests for the functionality provided by the node subparser

setUp()[source]

Create various objects and deletes any test VMs

static suite()[source]

Return a test suite

tearDown()[source]

Reset any values changed to the MCVirt config

test_set_invalid_ip_address()[source]

Test the validity checks for IP addresses

test_set_invalid_volume_group()[source]

Test the validity checks for volume group name

test_set_ip_address()[source]

Change the cluster IP address using the argument parser

test_set_volume_group()[source]

Change the cluster IP address using the argument parser

Module contents