MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / test_subfolder_try_resolve_path

Function test_subfolder_try_resolve_path

unit-tests/test_subfolder.py:80–84  ·  view source on GitHub ↗

Test try_resolve_path.

(input_, expected_folder, expected_final)

Source from the content-addressed store, hash-verified

78
79@pytest.mark.parametrize('input_, expected_folder, expected_final', global_test_params)
80def test_subfolder_try_resolve_path(input_, expected_folder, expected_final):
81 """Test try_resolve_path."""
82 actual_folder, actual_final = subfolder.try_resolve_path(global_params, input_)
83 assert actual_folder is expected_folder
84 assert actual_final == expected_final
85
86
87def test_subfolder_try_resolve_path_rejects_ambiguous_folder_name():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected