conductor.native.tests.test_package_tree module

class conductor.native.tests.test_package_tree.FindByNameTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_dont_find_plugin_level_when_limited()
test_find_plugin_level()
test_find_plugin_level_high_limit()
test_find_root()
test_find_root_when_limit_1()
class conductor.native.tests.test_package_tree.RemoveUnreachableTest(methodName='runTest')

Bases: unittest.case.TestCase

test_many_valid_trees_unchanged()
test_multiple_invalid_tree_culled()
test_random_input_order()
test_single_invalid_tree_culled_below()
test_single_invalid_tree_culled_leaf()
test_single_valid_tree_unchanged()
class conductor.native.tests.test_package_tree.SoftwareDataFindByKeysTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_find_host_by_keys()
test_find_leaf_by_keys()
test_find_nonexistent_package_returns_none()
class conductor.native.tests.test_package_tree.SoftwareDataFindByPathTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_find_empty_path_return_none()
test_find_leaf_path()
test_find_nonexistent_path_return_none()
test_find_root_path()
class conductor.native.tests.test_package_tree.SoftwareDataGetAllPathsTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_get_all_paths_to_leaf()
test_get_all_paths_to_nonexistent()
test_get_all_paths_to_root()
class conductor.native.tests.test_package_tree.SoftwareDataInitTest(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_init_with_no_product()
test_init_with_product()
test_init_with_sub_product()
test_smoke()
class conductor.native.tests.test_package_tree.ToNameTest(methodName='runTest')

Bases: unittest.case.TestCase

test_major_minor()
test_major_minor_release()
test_major_minor_release_build()
test_major_only()