Bases: TestCase
Base for all test cases
Get the full path to sample config file f
Load f and return it after yaml parsing
Hook method for setting up the test fixture before exercising it.
Bases: TestBase
Helper for setting up and reading a config
Hook method for setting up the test fixture before exercising it.
Bases: TestConfig
Test parsing config file into a graph
Bases: TestGraphGeneration
Bases: TestConfig
Extra helper class for testing graph generation
Hook method for setting up the test fixture before exercising it.
Bases: TestGraphGeneration
Bases: TestGraphGeneration
Bases: TestBase
Hook method for setting up the test fixture before exercising it.
Creates many partition and check correctness with partx.
Creates many primary and extended partitions.
Creates one partition and check correctness with partx.
Creates one primary partition and check correctness with partx.
Creates a partition with a non-default ‘type’ and verifies.
Creates three primary partition and check correctness with partx.
Creates no partition and check correctness with partx.
Bases: TestGraphGeneration
Bases: TestBase
Bases: TestGraphGeneration
Bases: TestStateBase
Bases: TestBase
Tests for the utils.py
This tests mostly the error and failure cases - because the good cases are tested implicitly with the higher level unit tests.
Call parse_abs_size_spec with a completely broken unit spec
Call parse_abs_size_spec with invalid unit spec
Call parse_abs_size_spec without spec
Calls parse_rel_size_spec with an absolute number
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.