Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore BinOpMod Str NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr Call AttributeLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore NameStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Tests for L{twisted.words.protocols.jabber.client}
 twisted.internet defer twisted.python.hashlib sha1 twisted.trial unittest twisted.words.protocols.jabber client error jid xmlstream twisted.words.protocols.jabber.sasl SASLInitiatingInitializer twisted.words.xish utility N/A IQ_AUTH_GET /iq[@type="get"]/query[@xmlns="jabber:iq:auth"] N/A IQ_AUTH_SET /iq[@type="set"]/query[@xmlns="jabber:iq:auth"] N/A NS_BIND urn:ietf:params:xml:ns:xmpp-bind N/A IQ_BIND_SET N/A /iq[@type="set"]/bind[@xmlns="%s"] NS_BIND N/A NS_SESSION urn:ietf:params:xml:ns:xmpp-session N/A IQ_SESSION_SET N/A /iq[@type="set"]/session[@xmlns="%s"] NS_SESSION CheckVersionInitializerTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A a N/A N/A xmlstream Authenticator N/A xs N/A N/A xmlstream XmlStream a N/A N/A self init N/A N/A client CheckVersionInitializer xs N/A testSupported N/A N/A self N/A N/A N/A 
        Test supported version number 1.0
         N/A N/A N/A N/A self init xmlstream version N/A 1 0 N/A N/A N/A N/A self init initialize N/A testNotSupported N/A N/A self N/A N/A N/A 
        Test unsupported version number 0.0, and check exception.
         N/A N/A N/A N/A self init xmlstream version N/A 0 0 N/A exc N/A N/A self assertRaises N/A error StreamError N/A N/A self init initialize N/A N/A N/A self assertEquals unsupported-version N/A exc condition N/A N/A InitiatingInitializerHarness N/A object N/A N/A 
    Testing harness for interacting with XML stream initializers.

    This sets up an L{utility.XmlPipe} to create a communication channel between
    the initializer and the stubbed receiving entity. It features a sink and
    source side that both act similarly to a real L{xmlstream.XmlStream}. The
    sink is augmented with an authenticator to which initializers can be added.

    The harness also provides some utility methods to work with event observers
    and deferreds.
     setUp N/A N/A self N/A N/A N/A N/A self output N/A N/A N/A self pipe N/A N/A utility XmlPipe N/A N/A self xmlstream N/A N/A self pipe sink N/A N/A self authenticator N/A N/A xmlstream ConnectAuthenticator example.org N/A N/A N/A self xmlstream authenticator N/A self authenticator N/A waitFor N/A N/A self event handler N/A N/A N/A 
        Observe an output event, returning a deferred.

        The returned deferred will be fired when the given event has been
        observed on the source end of the L{XmlPipe} tied to the protocol
        under test. The handler is added as the first callback.

        @param event: The event to be observed. See
            L{utility.EventDispatcher.addOnetimeObserver}.
        @param handler: The handler to be called with the observed event object.
        @rtype: L{defer.Deferred}.
         N/A d N/A N/A defer Deferred N/A N/A N/A d addCallback handler N/A N/A N/A N/A N/A self pipe source addOnetimeObserver event N/A d callback N/A d N/A N/A IQAuthInitializerTest N/A InitiatingInitializerHarness N/A unittest TestCase N/A N/A 
    Tests for L{client.IQAuthInitializer}.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super IQAuthInitializerTest self setUp N/A N/A self init N/A N/A client IQAuthInitializer N/A self xmlstream N/A N/A N/A self authenticator jid N/A N/A jid JID user@example.com/resource N/A N/A N/A self authenticator password secret N/A testPlainText N/A N/A self N/A N/A N/A 
        Test plain-text authentication.

        Act as a server supporting plain-text authentication and expect the
        C{password} field to be filled with the password. Then act as if
        authentication succeeds.
         onAuthGet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent a query for authentication methods.

            The response informs the client that plain-text authentication
            is supported.
             N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A response addElement N/A jabber:iq:auth query N/A N/A N/A N/A response query addElement username N/A N/A N/A N/A response query addElement password N/A N/A N/A N/A response query addElement resource N/A d N/A N/A self waitFor IQ_AUTH_SET onAuthSet N/A N/A N/A N/A N/A self pipe source send response N/A d N/A onAuthSet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent the authentication request.

            The server checks the credentials and responds with an empty result
            signalling success.
             N/A N/A N/A self assertEquals user N/A unicode N/A N/A iq query username N/A N/A N/A self assertEquals secret N/A unicode N/A N/A iq query password N/A N/A N/A self assertEquals resource N/A unicode N/A N/A iq query resource N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_AUTH_GET onAuthGet N/A d2 N/A N/A N/A self init initialize N/A N/A N/A defer gatherResults N/A d1 d2 N/A testDigest N/A N/A self N/A N/A N/A 
        Test digest authentication.

        Act as a server supporting digest authentication and expect the
        C{digest} field to be filled with a sha1 digest of the concatenated
        stream session identifier and password. Then act as if authentication
        succeeds.
         onAuthGet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent a query for authentication methods.

            The response informs the client that digest authentication is
            supported.
             N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A response addElement N/A jabber:iq:auth query N/A N/A N/A N/A response query addElement username N/A N/A N/A N/A response query addElement digest N/A N/A N/A N/A response query addElement resource N/A d N/A N/A self waitFor IQ_AUTH_SET onAuthSet N/A N/A N/A N/A N/A self pipe source send response N/A d N/A onAuthSet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent the authentication request.

            The server checks the credentials and responds with an empty result
            signalling success.
             N/A N/A N/A self assertEquals user N/A unicode N/A N/A iq query username N/A N/A N/A self assertEquals N/A N/A N/A sha1 12345secret hexdigest N/A N/A N/A unicode N/A N/A iq query digest encode utf-8 N/A N/A N/A self assertEquals resource N/A unicode N/A N/A iq query resource N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A N/A N/A self pipe source send response N/A N/A N/A N/A self xmlstream sid 12345 N/A d1 N/A N/A self waitFor IQ_AUTH_GET onAuthGet N/A d2 N/A N/A N/A self init initialize N/A N/A N/A defer gatherResults N/A d1 d2 N/A testFailRequestFields N/A N/A self N/A N/A N/A 
        Test initializer failure of request for fields for authentication.
         onAuthGet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent a query for authentication methods.

            The server responds that the client is not authorized to authenticate.
             N/A response N/A N/A N/A N/A error StanzaError not-authorized toResponse iq N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_AUTH_GET onAuthGet N/A d2 N/A N/A N/A self init initialize N/A N/A N/A self assertFailure d2 N/A error StanzaError N/A N/A N/A defer gatherResults N/A d1 d2 N/A testFailAuth N/A N/A self N/A N/A N/A 
        Test initializer failure to authenticate.
         onAuthGet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent a query for authentication methods.

            The response informs the client that plain-text authentication
            is supported.
             N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A response addElement N/A jabber:iq:auth query N/A N/A N/A N/A response query addElement username N/A N/A N/A N/A response query addElement password N/A N/A N/A N/A response query addElement resource N/A d N/A N/A self waitFor IQ_AUTH_SET onAuthSet N/A N/A N/A N/A N/A self pipe source send response N/A d N/A onAuthSet N/A N/A iq N/A N/A N/A 
            Called when the initializer sent the authentication request.

            The server checks the credentials and responds with a not-authorized
            stanza error.
             N/A response N/A N/A N/A N/A error StanzaError not-authorized toResponse iq N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_AUTH_GET onAuthGet N/A d2 N/A N/A N/A self init initialize N/A N/A N/A self assertFailure d2 N/A error StanzaError N/A N/A N/A defer gatherResults N/A d1 d2 N/A N/A BindInitializerTest N/A InitiatingInitializerHarness N/A unittest TestCase N/A N/A 
    Tests for L{client.BindInitializer}.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BindInitializerTest self setUp N/A N/A self init N/A N/A client BindInitializer N/A self xmlstream N/A N/A N/A self authenticator jid N/A N/A jid JID user@example.com/resource N/A testBasic N/A N/A self N/A N/A N/A 
        Set up a stream, and act as if resource binding succeeds.
         onBind N/A N/A iq N/A N/A N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A response addElement N/A NS_BIND bind N/A N/A N/A N/A response bind addElement jid content user@example.com/other resource N/A N/A N/A N/A N/A self pipe source send response N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals N/A N/A jid JID user@example.com/other resource N/A N/A self authenticator jid N/A N/A d1 N/A N/A self waitFor IQ_BIND_SET onBind N/A d2 N/A N/A N/A self init start N/A N/A N/A d2 addCallback cb N/A N/A N/A defer gatherResults N/A d1 d2 N/A testFailure N/A N/A self N/A N/A N/A 
        Set up a stream, and act as if resource binding fails.
         onBind N/A N/A iq N/A N/A N/A response N/A N/A N/A N/A error StanzaError conflict toResponse iq N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_BIND_SET onBind N/A d2 N/A N/A N/A self init start N/A N/A N/A self assertFailure d2 N/A error StanzaError N/A N/A N/A defer gatherResults N/A d1 d2 N/A N/A SessionInitializerTest N/A InitiatingInitializerHarness N/A unittest TestCase N/A N/A 
    Tests for L{client.SessionInitializer}.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SessionInitializerTest self setUp N/A N/A self init N/A N/A client SessionInitializer N/A self xmlstream N/A testSuccess N/A N/A self N/A N/A N/A 
        Set up a stream, and act as if session establishment succeeds.
         onSession N/A N/A iq N/A N/A N/A response N/A N/A xmlstream toResponse iq result N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_SESSION_SET onSession N/A d2 N/A N/A N/A self init start N/A N/A N/A defer gatherResults N/A d1 d2 N/A testFailure N/A N/A self N/A N/A N/A 
        Set up a stream, and act as if session establishment fails.
         onSession N/A N/A iq N/A N/A N/A response N/A N/A N/A N/A error StanzaError forbidden toResponse iq N/A N/A N/A N/A N/A self pipe source send response N/A N/A d1 N/A N/A self waitFor IQ_SESSION_SET onSession N/A d2 N/A N/A N/A self init start N/A N/A N/A self assertFailure d2 N/A error StanzaError N/A N/A N/A defer gatherResults N/A d1 d2 N/A N/A XMPPAuthenticatorTest N/A N/A unittest TestCase N/A N/A 
    Test for both XMPPAuthenticator and XMPPClientFactory.
     testBasic N/A N/A self N/A N/A N/A 
        Test basic operations.

        Setup an XMPPClientFactory, which sets up an XMPPAuthenticator, and let
        it produce a protocol instance. Then inspect the instance variables of
        the authenticator and XML stream objects.
         N/A N/A self client_jid N/A N/A jid JID user@example.com/resource N/A xs N/A N/A N/A N/A client XMPPClientFactory N/A self client_jid secret buildProtocol None N/A N/A N/A self assertEqual example.com N/A N/A xs authenticator otherHost N/A N/A N/A self assertEqual N/A self client_jid N/A N/A xs authenticator jid N/A N/A N/A self assertEqual secret N/A N/A xs authenticator password N/A N/A version tls sasl bind session N/A xs initializers N/A N/A N/A self assert_ N/A isinstance tls N/A xmlstream TLSInitiatingInitializer N/A N/A N/A self assert_ N/A isinstance sasl SASLInitiatingInitializer N/A N/A N/A self assert_ N/A isinstance bind N/A client BindInitializer N/A N/A N/A self assert_ N/A isinstance session N/A client SessionInitializer N/A N/A N/A self assertFalse N/A tls required N/A N/A N/A self assertTrue N/A sasl required N/A N/A N/A self assertFalse N/A bind required N/A N/A N/A self assertFalse N/A session required N/A N/A