%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/words/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/words/test/__pycache__/test_jabberclient.cpython-312.pyc |
� Ϫ�f�@ � �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z m Z mZmZ ddl mZ ddlmZ dd lmZ d Zd ZdZdZdez ZdZdez Z G d� dej4 � Z G d� d� Z G d� deej4 � Z G d� deej4 � Z G d� deej4 � Z G d� dej4 � Z G d� d ej4 � Z!y# e$ r dZdZY ��w xY w)!z4 Tests for L{twisted.words.protocols.jabber.client} � )�sha1)�skipIf)�defer)�unittest)�client�error�jid� xmlstream)�SASLInitiatingInitializer)�utility)�ssl)F� N)TzSSL not availablez//iq[@type="get"]/query[@xmlns="jabber:iq:auth"]z//iq[@type="set"]/query[@xmlns="jabber:iq:auth"]z urn:ietf:params:xml:ns:xmpp-bindz"/iq[@type="set"]/bind[@xmlns="%s"]z#urn:ietf:params:xml:ns:xmpp-sessionz%/iq[@type="set"]/session[@xmlns="%s"]c � � e Zd Zd� Zd� Zd� Zy)�CheckVersionInitializerTestsc � � t j � }t j |� }t j |� | _ y �N)r � Authenticator� XmlStreamr �CheckVersionInitializer�init)�self�a�xss �F/usr/lib/python3/dist-packages/twisted/words/test/test_jabberclient.py�setUpz"CheckVersionInitializerTests.setUp# s2 � ��#�#�%�� � � �� #���2�2�2�6�� � c �n � d| j j _ | j j � y)z3 Test supported version number 1.0 )� r N)r r �version� initialize�r s r � testSupportedz*CheckVersionInitializerTests.testSupported( s&