def test_check_valid_folder_bad(): with pytest.raises(ArgumentTypeError): check_valid_folder('3245jlnsdfnsfd234ofds')
def test_check_valid_folder(mock_link): temp_folder = tempfile.mkdtemp() assert check_valid_folder(temp_folder) == temp_folder
def test_check_valid_folder_bad(): with pytest.raises(ArgumentTypeError): check_valid_folder('3245jlnsdfnsfd234ofds')
def test_check_valid_folder(mock_link): temp_folder = tempfile.mkdtemp() assert check_valid_folder(temp_folder) == temp_folder