%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/protocols/haproxy/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/protocols/haproxy/test/__pycache__/test_parser.cpython-312.pyc |
� Ϫ�f� � � � d Z ddlmZmZ ddlmZmZmZmZ m Z mZ ddlm Z ddlmZ ddlmZ ddlmZ G d � d e� Z G d� de� Zy )z1 Tests for L{twisted.protocols.haproxy._parser}. � )�Type�Union)�TCP4ServerEndpoint�TCP6ServerEndpoint�UNIXServerEndpoint�_parse�_WrapperServerEndpoint�serverFromString)� MemoryReactor)�SynchronousTestCase� )�unparseEndpoint)�HAProxyWrappingFactoryc �P � e Zd ZdZdeddfd�Zdd�Zdd�Zdd�Zdd �Z dd �Z dd�Zy) �UnparseEndpointTestszg Tests to ensure that un-parsing an endpoint string round trips through escaping properly. �input�returnNc �F � | j t t |� � |� y)aA Check that the input unparses into the output, raising an assertion error if it doesn't. @param input: an input in endpoint-string-description format. (To ensure determinism, keyword arguments should be in alphabetical order.) @type input: native L{str} N)�assertEqualr � parseEndpoint)�selfr s �L/usr/lib/python3/dist-packages/twisted/protocols/haproxy/test/test_parser.py�checkzUnparseEndpointTests.check s � � ����-��*>�?��G� c �&