示例#1
0
def test_check_valid_folder_bad():
    with pytest.raises(ArgumentTypeError):
        check_valid_folder('3245jlnsdfnsfd234ofds')
示例#2
0
def test_check_valid_folder(mock_link):
    temp_folder = tempfile.mkdtemp()
    assert check_valid_folder(temp_folder) == temp_folder