Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Return NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{idavoll.gateway}.

Note that some tests are functional tests that require a running idavoll
service.
 StringIO StringIO N/A simplejson twisted.internet defer twisted.trial unittest twisted.web error http http_headers server twisted.web.test requesthelper twisted.words.xish domish twisted.words.protocols.jabber.jid JID idavoll gateway idavoll.backend BackendService idavoll.memory_storage Storage N/A AGENT Idavoll Test Script N/A NS_ATOM http://www.w3.org/2005/Atom N/A TEST_ENTRY N/A N/A domish Element N/A NS_ATOM entry N/A N/A N/A TEST_ENTRY addElement id content urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a N/A N/A N/A TEST_ENTRY addElement title content Atom-Powered Robots Run Amok N/A N/A N/A N/A N/A TEST_ENTRY addElement author addElement name content John Doe N/A N/A N/A TEST_ENTRY addElement content content Some text. N/A baseURI http://localhost:8086/ N/A component pubsub N/A componentJID N/A JID component N/A ownerJID N/A JID owner@example.org _render N/A N/A resource request N/A N/A N/A result N/A N/A resource render request N/A N/A isinstance result str N/A N/A N/A N/A request write result N/A N/A N/A request finish N/A N/A N/A defer succeed None N/A N/A N/A result N/A server NOT_DONE_YET N/A N/A N/A request finished N/A N/A N/A N/A defer succeed None N/A N/A N/A N/A request notifyFinish N/A N/A N/A ValueError N/A Unexpected return value: %r N/A result N/A DummyRequest N/A N/A requesthelper DummyRequest N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A requesthelper DummyRequest __init__ self args kwargs N/A N/A self requestHeaders N/A N/A http_headers Headers N/A N/A GetServiceAndNodeTest N/A N/A unittest TestCase N/A N/A 
    Tests for {gateway.getServiceAndNode}.
     test_basic N/A N/A self N/A N/A N/A 
        getServiceAndNode parses an XMPP URI with node parameter.
         N/A uri xmpp:pubsub.example.org?;node=test N/A N/A service nodeIdentifier N/A N/A gateway getServiceAndNode uri N/A N/A N/A self assertEqual N/A JID pubsub.example.org service N/A N/A N/A self assertEqual test nodeIdentifier N/A test_schemeEmpty N/A N/A self N/A N/A N/A 
        If the URI scheme is empty, an exception is raised.
         N/A uri pubsub.example.org N/A N/A N/A self assertRaises N/A gateway XMPPURIParseError N/A gateway getServiceAndNode uri N/A test_schemeNotXMPP N/A N/A self N/A N/A N/A 
        If the URI scheme is not 'xmpp', an exception is raised.
         N/A uri mailto:test@example.org N/A N/A N/A self assertRaises N/A gateway XMPPURIParseError N/A gateway getServiceAndNode uri N/A test_authorityPresent N/A N/A self N/A N/A N/A 
        If the URI has an authority component, an exception is raised.
         N/A uri xmpp://pubsub.example.org/ N/A N/A N/A self assertRaises N/A gateway XMPPURIParseError N/A gateway getServiceAndNode uri N/A test_queryEmpty N/A N/A self N/A N/A N/A 
        If there is no query component, the nodeIdentifier is empty.
         N/A uri xmpp:pubsub.example.org N/A N/A service nodeIdentifier N/A N/A gateway getServiceAndNode uri N/A N/A N/A self assertEqual N/A JID pubsub.example.org service N/A N/A N/A self assertEqual nodeIdentifier N/A test_jidInvalid N/A N/A self N/A N/A N/A 
        If the JID from the path component is invalid, an exception is raised.
         N/A uri xmpp:@@pubsub.example.org?;node=test N/A N/A N/A self assertRaises N/A gateway XMPPURIParseError N/A gateway getServiceAndNode uri N/A test_pathEmpty N/A N/A self N/A N/A N/A 
        If there is no path component, an exception is raised.
         N/A uri xmpp:?node=test N/A N/A N/A self assertRaises N/A gateway XMPPURIParseError N/A gateway getServiceAndNode uri N/A test_nodeAbsent N/A N/A self N/A N/A N/A 
        If the node parameter is missing, the nodeIdentifier is empty.
         N/A uri xmpp:pubsub.example.org? N/A N/A service nodeIdentifier N/A N/A gateway getServiceAndNode uri N/A N/A N/A self assertEqual N/A JID pubsub.example.org service N/A N/A N/A self assertEqual nodeIdentifier N/A N/A GetXMPPURITest N/A N/A unittest TestCase N/A N/A 
    Tests for L{gateway.getXMPPURITest}.
     test_basic N/A N/A self N/A N/A N/A uri N/A N/A gateway getXMPPURI N/A JID pubsub.example.org test N/A N/A N/A self assertEqual xmpp:pubsub.example.org?;node=test uri N/A N/A CreateResourceTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{gateway.CreateResource}.
     setUp N/A N/A self N/A N/A N/A N/A self backend N/A BackendService N/A Storage N/A N/A self resource N/A N/A gateway CreateResource N/A self backend componentJID ownerJID N/A test_get N/A N/A self N/A N/A N/A 
        The method GET is not supported.
         N/A request N/A DummyRequest N/A N/A N/A N/A self assertRaises N/A error UnsupportedMethod _render N/A self resource request N/A test_post N/A N/A self N/A N/A N/A 
        Upon a POST, a new node is created and the URI returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST gotNodes N/A N/A nodeIdentifiers uri N/A N/A N/A N/A service nodeIdentifier N/A N/A gateway getServiceAndNode uri N/A N/A N/A self assertIn nodeIdentifier nodeIdentifiers N/A rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual application/json N/A N/A request outgoingHeaders N/A content-type N/A payload N/A N/A simplejson loads N/A N/A join N/A request written N/A N/A N/A self assertIn uri payload N/A d N/A N/A N/A self backend getNodes N/A N/A N/A d addCallback gotNodes N/A payload N/A uri N/A d N/A N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A N/A DeleteResourceTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{gateway.DeleteResource}.
     setUp N/A N/A self N/A N/A N/A N/A self backend N/A BackendService N/A Storage N/A N/A self resource N/A N/A gateway DeleteResource N/A self backend componentJID ownerJID N/A test_get N/A N/A self N/A N/A N/A 
        The method GET is not supported.
         N/A request N/A DummyRequest N/A N/A N/A N/A self assertRaises N/A error UnsupportedMethod _render N/A self resource request N/A test_post N/A N/A self N/A N/A N/A 
        Upon a POST, a new node is created and the URI returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual N/A http NO_CONTENT N/A request responseCode N/A nodeCreated N/A N/A nodeIdentifier N/A N/A N/A uri N/A N/A gateway getXMPPURI componentJID nodeIdentifier N/A N/A N/A request args N/A uri N/A uri N/A N/A request content N/A StringIO N/A N/A _render N/A self resource request N/A N/A d N/A N/A N/A self backend createNode test ownerJID N/A N/A N/A d addCallback nodeCreated N/A N/A N/A d addCallback rendered N/A d N/A test_postWithRedirect N/A N/A self N/A N/A N/A 
        Upon a POST, a new node is created and the URI returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST N/A otherNodeURI xmpp:pubsub.example.org?node=other rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual N/A http NO_CONTENT N/A request responseCode N/A N/A N/A self assertEqual 1 N/A len deletes N/A N/A nodeIdentifier owner redirectURI N/A deletes N/A -1 N/A N/A N/A self assertEqual otherNodeURI redirectURI N/A nodeCreated N/A N/A nodeIdentifier N/A N/A N/A uri N/A N/A gateway getXMPPURI componentJID nodeIdentifier N/A N/A N/A request args N/A uri N/A uri N/A payload N/A redirect_uri otherNodeURI N/A body N/A N/A simplejson dumps payload N/A N/A request content N/A StringIO body N/A N/A _render N/A self resource request N/A deleteNode N/A N/A nodeIdentifier owner redirectURI N/A N/A N/A N/A N/A deletes append N/A nodeIdentifier owner redirectURI N/A N/A N/A defer succeed nodeIdentifier N/A N/A deletes N/A N/A N/A N/A self patch N/A self backend deleteNode deleteNode N/A d N/A N/A N/A self backend createNode test ownerJID N/A N/A N/A d addCallback nodeCreated N/A N/A N/A d addCallback rendered N/A d N/A test_postUnknownNode N/A N/A self N/A N/A N/A 
        If the node to be deleted is unknown, 404 Not Found is returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual N/A http NOT_FOUND N/A request responseCode N/A N/A uri N/A N/A gateway getXMPPURI componentJID unknown N/A N/A N/A request args N/A uri N/A uri N/A N/A request content N/A StringIO N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A test_postMalformedXMPPURI N/A N/A self N/A N/A N/A 
        If the XMPP URI is malformed, Bad Request is returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual N/A http BAD_REQUEST N/A request responseCode N/A N/A uri xmpp:@@@@ N/A N/A N/A request args N/A uri N/A uri N/A N/A request content N/A StringIO N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A test_postURIMissing N/A N/A self N/A N/A N/A 
        If no URI is passed, 400 Bad Request is returned.
         N/A request N/A DummyRequest N/A N/A N/A request method POST rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual N/A http BAD_REQUEST N/A request responseCode N/A N/A N/A request content N/A StringIO N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A N/A CallbackResourceTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{gateway.CallbackResource}.
     setUp N/A N/A self N/A N/A N/A N/A self callbackEvents N/A N/A N/A self resource N/A N/A gateway CallbackResource N/A self _callback N/A _callback N/A N/A self payload headers N/A N/A N/A N/A N/A N/A self callbackEvents append N/A payload headers N/A test_get N/A N/A self N/A N/A N/A 
        The method GET is not supported.
         N/A request N/A DummyRequest N/A N/A N/A N/A self assertRaises N/A error UnsupportedMethod _render N/A self resource request N/A test_post N/A N/A self N/A N/A N/A 
        The body posted is passed to the callback.
         N/A request N/A DummyRequest N/A N/A N/A request method POST N/A N/A request content N/A StringIO <root><child/></root> rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual 1 N/A len N/A self callbackEvents N/A N/A payload headers N/A N/A self callbackEvents N/A -1 N/A N/A N/A self assertEqual root N/A payload name N/A N/A N/A self assertEqual N/A http NO_CONTENT N/A request responseCode N/A N/A N/A self assertFalse N/A N/A join N/A request written N/A N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A test_postEvent N/A N/A self N/A N/A N/A 
        If the Event header is set, the payload is empty and the header passed.
         N/A request N/A DummyRequest N/A N/A N/A request method POST N/A N/A N/A N/A request requestHeaders addRawHeader Event DELETE N/A N/A request content N/A StringIO rendered N/A N/A result N/A N/A N/A N/A N/A self assertEqual 1 N/A len N/A self callbackEvents N/A N/A payload headers N/A N/A self callbackEvents N/A -1 N/A N/A N/A self assertIdentical None payload N/A N/A N/A self assertEqual N/A DELETE N/A N/A headers getRawHeaders Event N/A N/A N/A self assertFalse N/A N/A join N/A request written N/A N/A d N/A _render N/A self resource request N/A N/A N/A d addCallback rendered N/A d N/A N/A GatewayTest N/A N/A unittest TestCase N/A N/A timeout 2 setUp N/A N/A self N/A N/A N/A N/A self client N/A N/A gateway GatewayClient baseURI N/A N/A N/A N/A self client startService N/A N/A N/A self addCleanup N/A N/A self client stopService trapConnectionRefused N/A N/A failure N/A N/A twisted.internet.error ConnectionRefusedError N/A N/A N/A failure trap ConnectionRefusedError N/A N/A N/A unittest SkipTest Gateway to test against is not available N/A trapNotFound N/A N/A failure N/A N/A twisted.web.error Error N/A N/A N/A failure trap Error N/A N/A d N/A N/A N/A self client ping N/A N/A N/A d addErrback trapConnectionRefused N/A N/A N/A d addErrback trapNotFound N/A d N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self client stopService N/A test_create N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A N/A N/A self assertIn uri response N/A N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A d N/A test_publish N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A N/A N/A self assertIn uri response N/A N/A d N/A N/A N/A self client publish TEST_ENTRY N/A N/A N/A d addCallback cb N/A d N/A test_publishExistingNode N/A N/A self N/A N/A cb2 N/A N/A response xmppURI N/A N/A N/A N/A N/A self assertEquals xmppURI N/A response N/A uri N/A cb1 N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A N/A N/A d addCallback cb2 xmppURI N/A d N/A N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb1 N/A d N/A test_publishNonExisting N/A N/A self N/A N/A cb N/A N/A err N/A N/A N/A N/A N/A self assertEqual 404 N/A err status N/A N/A d N/A N/A N/A self client publish TEST_ENTRY N/A xmpp:%s?node=test component N/A N/A N/A self assertFailure d N/A error Error N/A N/A N/A d addCallback cb N/A d N/A test_delete N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client delete xmppURI N/A d N/A N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A d N/A test_deleteWithRedirect N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A redirectURI N/A xmpp:%s?node=test component N/A d N/A N/A N/A self client delete xmppURI redirectURI N/A d N/A N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A d N/A test_deleteNotification N/A N/A self N/A N/A onNotification N/A N/A data headers N/A N/A N/A N/A N/A N/A N/A self assertTrue N/A N/A headers hasHeader Event N/A N/A N/A self assertEquals N/A DELETED N/A N/A headers getRawHeaders Event N/A N/A N/A self assertFalse N/A N/A headers hasHeader Link N/A N/A N/A N/A N/A N/A N/A N/A self client deferred errback N/A N/A N/A N/A N/A N/A self client deferred callback None N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A N/A self client delete xmppURI N/A d N/A N/A N/A N/A self client callback onNotification N/A N/A N/A self client deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A defer gatherResults N/A d N/A N/A self client deferred N/A test_deleteNotificationWithRedirect N/A N/A self N/A N/A N/A redirectURI N/A xmpp:%s?node=test component onNotification N/A N/A data headers N/A N/A N/A N/A N/A N/A N/A self assertTrue N/A N/A headers hasHeader Event N/A N/A N/A self assertEquals N/A DELETED N/A N/A headers getRawHeaders Event N/A N/A N/A self assertEquals N/A N/A <%s>; rel=alternate redirectURI N/A N/A headers getRawHeaders Link N/A N/A N/A N/A N/A N/A N/A N/A self client deferred errback N/A N/A N/A N/A N/A N/A self client deferred callback None N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A N/A self client delete xmppURI redirectURI N/A d N/A N/A N/A N/A self client callback onNotification N/A N/A N/A self client deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A defer gatherResults N/A d N/A N/A self client deferred N/A test_list N/A N/A self N/A N/A N/A d N/A N/A N/A self client listNodes N/A d N/A test_subscribe N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client subscribe xmppURI N/A d N/A N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A d N/A test_subscribeGetNotification N/A N/A self N/A N/A onNotification N/A N/A data headers N/A N/A N/A N/A N/A N/A N/A self client deferred callback None N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A d N/A N/A N/A N/A self client callback onNotification N/A N/A N/A self client deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A defer gatherResults N/A d N/A N/A self client deferred N/A test_subscribeTwiceGetNotification N/A N/A self N/A N/A onNotification1 N/A N/A data headers N/A N/A N/A d N/A N/A client1 stopService N/A N/A N/A d chainDeferred N/A client1 deferred N/A onNotification2 N/A N/A data headers N/A N/A N/A d N/A N/A client2 stopService N/A N/A N/A d chainDeferred N/A client2 deferred N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A client1 subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A client2 subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb3 N/A N/A xmppURI N/A N/A N/A d N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A d N/A N/A client1 N/A N/A gateway GatewayClient baseURI callbackPort 8088 N/A N/A N/A client1 startService N/A N/A client1 callback onNotification1 N/A N/A client1 deferred N/A N/A defer Deferred N/A client2 N/A N/A gateway GatewayClient baseURI callbackPort 8089 N/A N/A N/A client2 startService N/A N/A client2 callback onNotification2 N/A N/A client2 deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A d addCallback cb3 N/A dl N/A N/A defer gatherResults N/A d N/A client1 deferred N/A client2 deferred N/A dl N/A test_subscribeGetDelayedNotification N/A N/A self N/A N/A onNotification N/A N/A data headers N/A N/A N/A N/A N/A N/A N/A self client deferred callback None N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A N/A N/A self assertNot N/A N/A N/A self client deferred called N/A d N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A N/A self client subscribe xmppURI N/A d N/A N/A N/A N/A self client callback onNotification N/A N/A N/A self client deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A defer gatherResults N/A d N/A N/A self client deferred N/A test_subscribeGetDelayedNotification2 N/A N/A self N/A N/A N/A 
        Test that subscribing as second results in a notification being sent.
         onNotification1 N/A N/A data headers N/A N/A N/A N/A N/A N/A client1 deferred callback None N/A N/A N/A client1 stopService N/A onNotification2 N/A N/A data headers N/A N/A N/A N/A N/A N/A client2 deferred callback None N/A N/A N/A client2 stopService N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A N/A N/A self assertNot N/A N/A client1 deferred called N/A N/A N/A self assertNot N/A N/A client2 deferred called N/A d N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A d N/A N/A client1 subscribe xmppURI N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb3 N/A N/A xmppURI N/A N/A N/A d N/A N/A client2 subscribe xmppURI N/A d N/A N/A client1 N/A N/A gateway GatewayClient baseURI callbackPort 8088 N/A N/A N/A client1 startService N/A N/A client1 callback onNotification1 N/A N/A client1 deferred N/A N/A defer Deferred N/A client2 N/A N/A gateway GatewayClient baseURI callbackPort 8089 N/A N/A N/A client2 startService N/A N/A client2 callback onNotification2 N/A N/A client2 deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A d addCallback cb3 N/A dl N/A N/A defer gatherResults N/A d N/A client1 deferred N/A client2 deferred N/A dl N/A test_subscribeNonExisting N/A N/A self N/A N/A cb N/A N/A err N/A N/A N/A N/A N/A self assertEqual 403 N/A err status N/A N/A d N/A N/A N/A self client subscribe N/A xmpp:%s?node=test component N/A N/A N/A self assertFailure d N/A error Error N/A N/A N/A d addCallback cb N/A d N/A test_subscribeRootGetNotification N/A N/A self N/A N/A clean N/A N/A rootNode N/A N/A N/A N/A N/A N/A self client unsubscribe rootNode N/A onNotification N/A N/A data headers N/A N/A N/A N/A N/A N/A N/A self client deferred callback None N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A N/A jid nodeIdentifier N/A N/A gateway getServiceAndNode xmppURI N/A rootNode N/A N/A gateway getXMPPURI jid N/A d N/A N/A N/A self client subscribe rootNode N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A self addCleanup clean rootNode N/A N/A N/A d addCallback N/A N/A N/A _ N/A xmppURI N/A d N/A cb2 N/A N/A xmppURI N/A N/A N/A N/A N/A N/A self client publish TEST_ENTRY xmppURI N/A N/A N/A N/A self client callback onNotification N/A N/A N/A self client deferred N/A N/A defer Deferred N/A d N/A N/A N/A self client create N/A N/A N/A d addCallback cb N/A N/A N/A d addCallback cb2 N/A N/A N/A defer gatherResults N/A d N/A N/A self client deferred N/A test_unsubscribeNonExisting N/A N/A self N/A N/A cb N/A N/A err N/A N/A N/A N/A N/A self assertEqual 403 N/A err status N/A N/A d N/A N/A N/A self client unsubscribe N/A xmpp:%s?node=test component N/A N/A N/A self assertFailure d N/A error Error N/A N/A N/A d addCallback cb N/A d N/A test_items N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client items xmppURI N/A d N/A N/A d N/A N/A N/A self client publish TEST_ENTRY N/A N/A N/A d addCallback cb N/A d N/A test_itemsMaxItems N/A N/A self N/A N/A cb N/A N/A response N/A N/A N/A xmppURI N/A response N/A uri N/A d N/A N/A N/A self client items xmppURI 2 N/A d N/A N/A d N/A N/A N/A self client publish TEST_ENTRY N/A N/A N/A d addCallback cb N/A d N/A N/A