File: //lib/python3/dist-packages/twisted/words/test/__pycache__/test_jabbersasl.cpython-38.pyc
U
W[�$ � @ s� d dl mZmZ d dlmZ d dlmZ d dlmZ d dl m
Z
d dlmZm
Z
mZmZ d dlmZ dZee
j�G d d
� d
e��ZG dd� dej�ZG d
d� de
j�ZG dd� de
j�ZdS )� )�absolute_import�division)�implementer)�defer)�unicode)�unittest)�sasl�sasl_mechanisms� xmlstream�jid)�domish� urn:ietf:params:xml:ns:xmpp-saslc @ s4 e Zd ZdZdZdZdZdd� Zdd� Zd d
� Z dS )�DummySASLMechanisma�
Dummy SASL mechanism.
This just returns the initialResponse passed on creation, stores any
challenges and replies with the value of C{response}.
@ivar challenge: Last received challenge.
@type challenge: C{unicode}.
@ivar initialResponse: Initial response to be returned when requested
via C{getInitialResponse} or L{None}.
@type initialResponse: C{unicode}
N�DUMMY� c C s
|| _ d S �N��initialResponse)�selfr � r �D/usr/lib/python3/dist-packages/twisted/words/test/test_jabbersasl.py�__init__# s zDummySASLMechanism.__init__c C s | j S r r �r r r r �getInitialResponse&