Package VMBuilder :: Package tests :: Module disk_tests :: Class TestDiskPartitioningPlugin
[frames] | no frames]

Class TestDiskPartitioningPlugin

source code

testtools.TestCase --+
                     |
                    TestDiskPartitioningPlugin

Instance Methods
 
setUp(self) source code
 
tearDown(self) source code
 
test_partition_overlap(self) source code
 
test_partition_extends_beyond_disk(self) source code
 
test_partition_table_empty(self) source code
 
test_partition_table_nonempty(self) source code
 
test_map_partitions(self) source code
 
test_mkfs(self) source code
 
test_get_grub_id(self) source code
 
test_get_index(self) source code
Method Details

test_map_partitions(self)

source code 
Decorators:
  • @testtools.skipIf(os.geteuid() != 0, 'Needs root to run')

test_mkfs(self)

source code 
Decorators:
  • @testtools.skipIf(os.geteuid() != 0, 'Needs root to run')