def _ValidateTestPath(test_path):
    'Checks whether all the parts of the test path are valid.'
    if (len(test_path) > _MAX_TEST_PATH_LENGTH):
        raise BadRequestError(('Test path too long: %s' % test_path))
    if ('*' in test_path):
        raise BadRequestError('Illegal asterisk in test name.')
    for name in test_path.split('/'):
        _ValidateTestPathPartName(name)
Checks whether all the parts of the test path are valid.
def _ValidateTestPath(test_path):
    
    if (len(test_path) > _MAX_TEST_PATH_LENGTH):
        raise BadRequestError(('Test path too long: %s' % test_path))
    if ('*' in test_path):
        raise BadRequestError('Illegal asterisk in test name.')
    for name in test_path.split('/'):
        _ValidateTestPathPartName(name)