tests.devicelibs_test package¶
Submodules¶
tests.devicelibs_test.disk_test module¶
- class tests.devicelibs_test.disk_test.DiskLibTestCase(methodName='runTest')¶
Bases:
unittest.case.TestCaseCreate an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_lsm_dependency_guard()¶
Validate handling of missing lsm dependency.
- test_lsm_error_handling()¶
Validate handling of potential lsm errors.
- test_update_volume_list()¶
Validate conversion of lsm data.
- tests.devicelibs_test.disk_test.raise_lsm_error(*args)¶
- tests.devicelibs_test.disk_test.raise_other_error(*args)¶
tests.devicelibs_test.edd_test module¶
- class tests.devicelibs_test.edd_test.EddTestCase(*args, **kwds)¶
Bases:
unittest.case.TestCaseCreate an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- check_logs(debugs=None, infos=None, warnings=None, errors=None)¶
- edd_debug(*args)¶
- root(name)¶
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_collect_edd_data_absurd_virt()¶
- test_collect_edd_data_bad_sata_virt()¶
- test_collect_edd_data_mostly_fixed_virt()¶
- test_collect_edd_data_sata_usb()¶
- test_collect_edd_data_strawberry_mountain()¶
- test_collect_mbrs_bad_sata_virt()¶
- test_collect_mbrs_mostly_fixed_virt()¶
- test_collect_mbrs_strawberry_mountain()¶
- test_get_edd_dict_absurd_virt()¶
- test_get_edd_dict_bad_sata_virt()¶
- test_get_edd_dict_mostly_fixed_virt()¶
- test_get_edd_dict_sata_usb()¶
- test_get_edd_dict_strawberry_mountain()¶
- class tests.devicelibs_test.edd_test.FakeEddEntry(sysfspath, **kw)¶
Bases:
blivet.devicelibs.edd.EddEntry- load()¶
tests.devicelibs_test.lib module¶
- tests.devicelibs_test.lib.assertVerboseEqual(left, right, msg=None)¶
- tests.devicelibs_test.lib.assertVerboseListEqual(left, right, msg=None)¶
tests.devicelibs_test.mdraid_test module¶
tests.devicelibs_test.raid_test module¶
- class tests.devicelibs_test.raid_test.RaidTestCase(methodName='runTest')¶
Bases:
unittest.case.TestCaseCreate an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- test_raid()¶