def test_parse_headers_valid_header(valid_headers):
    header_bag = parse_headers(valid_headers[0])
    assert header_bag == valid_headers[1]
def test_parse_headers_invalid_header(invalid_headers):
    with pytest.raises(BadRequestHttpException):
        parse_headers(invalid_headers)