tests package

Submodules

tests.test_multipath module

class tests.test_multipath.TestMultipath(methodName='runTest')

Bases: unittest.case.TestCase

test_join_all_returns_list_of_joined_paths()
test_join_all_works_for_empty_list()
test_join_raises_a_ValueError_if_input_dirs_is_empty()
test_join_returns_expected_result_for_nominal_case()
test_join_returns_expected_result_in_multiple_cases()
test_resolve_all_returns_all_existient_paths()
test_resolve_all_returns_all_paths_in_dirs_when_given_no_subpaths()
test_resolve_all_returns_empty_list_if_subpath_doesnt_exist_in_any_dir()
test_resolve_all_returns_expected_result_for_nominal_case()
test_resolve_raises_FileNotFoundError_if_subpath_doesnt_exist_in_any_dir()
test_resolve_raises_ValueError_if_dirs_is_empty()
test_resolve_raises_ValueError_if_given_empty_list_of_dirs()
test_resolve_return_first_path_in_dirs_when_given_no_subpaths()
test_resolve_returns_expected_result_for_nominal_case()
test_resolve_returns_first_existent_path_even_if_other_paths_have_the_subpath()
test_try_join_returns_None_if_input_dirs_is_empty()
test_try_join_returns_expected_result_for_nominal_case()
test_try_join_returns_expected_result_in_multiple_cases()
test_try_resolve_return_first_path_in_dirs_when_given_no_subpaths()
test_try_resolve_returns_None_if_given_empty_list_of_dirs()
test_try_resolve_returns_None_if_subpath_doesnt_exist_in_any_dir()
test_try_resolve_returns_expected_result_for_nominal_case()
test_try_resolve_returns_first_existent_path_even_if_other_paths_have_the_subpath()

Module contents