def test_parse_header_format():
    description = (
        '"Consequence annotations from Ensembl VEP. Format: Allele'
        '|Consequence|IMPACT|SYMBOL|Gene|Feature_type|Feature"'
    )

    format_info = parse_header_format(description.strip('"'))
    assert format_info == "Allele|Consequence|IMPACT|SYMBOL|Gene|Feature_type|Feature"
def test_parse_header_format_no_format():
    description = '"Consequence annotations from Ensembl VEP."'
    format_info = parse_header_format(description)
    assert format_info == ""
def test_parse_header_format():
    description = '"Consequence annotations from Ensembl VEP. Format: Allele'\
                  '|Consequence|IMPACT|SYMBOL|Gene|Feature_type|Feature"'
    
    format_info = parse_header_format(description.strip('"'))
    assert format_info == 'Allele|Consequence|IMPACT|SYMBOL|Gene|Feature_type|Feature'
def test_parse_header_format_no_format():
    description = '"Consequence annotations from Ensembl VEP."'
    format_info = parse_header_format(description)
    assert format_info == ''