%PDF- %PDF-
Direktori : /lib/python3/dist-packages/hyperlink/test/__pycache__/ |
Current File : //lib/python3/dist-packages/hyperlink/test/__pycache__/test_scheme_registration.cpython-312.pyc |
� G�_� � �^ � d dl mZ d dlmZ ddlmZ ddlmZ ddlmZm Z m Z G d� d e� Zy )� )�unicode_literals)�cast� )�_url� )�HyperlinkTestCase)�register_scheme�URL� DecodedURLc �B � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zy )�TestSchemeRegistrationc �| � t t j � | _ t t j � | _ y �N)�dictr �SCHEME_PORT_MAP�_orig_scheme_port_map�set�NO_NETLOC_SCHEMES�_orig_no_netloc_schemes��selfs �I/usr/lib/python3/dist-packages/hyperlink/test/test_scheme_registration.py�setUpzTestSchemeRegistration.setUp s( � �%)�$�*>�*>�%?��"�'*�4�+A�+A�'B��$� c �X � | j t _ | j t _ y r )r r r r r r s r �tearDownzTestSchemeRegistration.tearDown s � �#�9�9���!%�!=�!=��r c � � t ddd�� t j d� }|j dk( sJ �|j dk( sJ �|j du sJ �t j d� }|j d�� }|j � dk( sJ �t j d � }|j � dk( sJ �t d d�� t d � � }|j d�� }|j � dk( sJ �y )N�deltronTi� ��uses_netloc�default_portzdeltron://example.comzdeltron:zexample.com)�hostzdeltron://example.com:3030�nonetroni� �r! ��schemeznonetron://example.com)r r � from_textr&