def split_name(value):
    parts = value.split(':', 1)
    if len(parts) != 2:
        raise OptionValueError(
            "option value must be specified as NAME:VALUE; got '%s' instead"
            % value)

    name, val = parts

    if name not in api_register:
        raise OptionValueError(
            "the name '%s' has not been registered; use --external-api"
            % name)

    return (name, val)
Assert that the build status endpoint contains fields signifying the build was failed. This assertion does an
dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/docwriter/xlink.py/split_name--crossover with--dataset/ETHPy150Open box/ClusterRunner/test/framework/functional/base_functional_test_case.py/BaseFunctionalTestCase.assert_build_has_failure_status