%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/lazr/uri/tests/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/lazr/uri/tests/__pycache__/test_uri.cpython-312.pyc |
� �^� � �r � d Z eZdgZddlmZ ddlZddlmZm Z m Z mZmZ G d� dej � Zd� Zy) zUnit tests.� test_suite� )�defaultdictN)�InvalidURIError�URI�find_uris_in_text�merge�remove_dot_segmentsc �B � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zy )�URITestCasec � � | j t t d� � d� | j t t d� � d� | j t t d� � d� | j t t d� � d� | j t t d � � d� | j t t d � � d� y )N�"eXAMPLE://a/./b/../b/%63/%7bfoo%7d�example://a/b/c/%7Bfoo%7D�http://www.EXAMPLE.com/�http://www.example.com/�http://www.gnome.org/%7ejamesh/�http://www.gnome.org/~jamesh/�http://example.com�http://example.com/�http://example.com:/�http://example.com:80/)�assertEqual�strr ��selfs �9/usr/lib/python3/dist-packages/lazr/uri/tests/test_uri.py�test_normalisationzURITestCase.test_normalisation! s� � �����S�!E�F�G�4� 6� ����S�!:�;�<�2� 4�����S�!B�C�D�8� :� ����S�!5�6�7�2� 4�����S�!7�8�9�2� 4�����S�!9�:�;�2� 4� c �t � ddgddgddgg d�g}t t � }|D ]/ }|D ]( }|t t |� � j |� �* �1 | j t |� t |� � |D ]>