Пример #1
0
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('°')
Пример #3
0
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('°')