def test_charref_hex(handle_data):
    """should evaluate hexadecimal character references"""
    parser = YVParser()
    parser.feed('°')
    handle_data.assert_called_once_with('°')
示例#2
0
def test_charref_hex(handle_data):
    """should evaluate hexadecimal character references"""
    parser = YVParser()
    parser.feed('°')
    handle_data.assert_called_once_with('°')
def test_charref_name(handle_data):
    """should evaluate named character references"""
    parser = YVParser()
    parser.feed('°')
    handle_data.assert_called_once_with('°')
示例#4
0
def test_charref_name(handle_data):
    """should evaluate named character references"""
    parser = YVParser()
    parser.feed('°')
    handle_data.assert_called_once_with('°')