Module Expr Str ImportFrom alias Import alias alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Str ClassDef bases body Expr Str Assign NameStore Dict If CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body 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 Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call 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 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 Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Str Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Str Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Num Index Num NameLoad Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Str Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Str Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num NameLoad Str Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Str Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Num NameLoad Str finalbody Expr Call AttributeLoad NameLoad attr Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body Expr Str If CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases body Expr Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler body Return NameLoad If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore Dict Str Str AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body TryExcept body ImportFrom alias handlers ExceptHandler body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler body Return NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str AugAssignMod NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list Expr Call NameLoad NameLoad Str Call NameLoad Expr Call NameLoad NameLoad Str Call NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Num FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body AugAssignAdd AttributeStore NameLoad attr Num Raise Call NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad orelse Return Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Num Str decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Tests for twisted.enterprise.adbapi.
 twisted.trial unittest N/A os stat new twisted.enterprise.adbapi ConnectionPool ConnectionLost safe twisted.enterprise.adbapi Connection Transaction twisted.enterprise.adbapi _unreleasedVersion twisted.internet reactor defer interfaces twisted.python.failure Failure N/A simple_table_schema 
CREATE TABLE simple (
  x integer
)
 ADBAPITestBase N/A N/A N/A Test the asynchronous DB-API code. N/A openfun_called N/A N/A N/A N/A N/A interfaces IReactorThreads reactor None None N/A N/A skip ADB-API requires threads, no way to test without them extraSetUp N/A N/A self N/A N/A N/A 
        Set up the database and create a connection pool pointing at it.
         N/A N/A N/A self startDB N/A N/A self dbpool N/A N/A self makePool cp_openfun N/A self openfun N/A N/A N/A N/A self dbpool start N/A tearDown N/A N/A self N/A N/A N/A d N/A N/A N/A self dbpool runOperation DROP TABLE simple N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A N/A self dbpool close N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A self stopDB N/A d N/A openfun N/A N/A self conn N/A N/A N/A N/A N/A self openfun_called N/A conn True N/A checkOpenfunCalled N/A N/A self conn N/A None N/A N/A N/A conn N/A N/A N/A N/A self failUnless N/A self openfun_called N/A N/A N/A N/A self failUnless N/A N/A N/A self openfun_called has_key conn N/A testPool N/A N/A self N/A N/A N/A d N/A N/A N/A self dbpool runOperation simple_table_schema N/A N/A self test_failures N/A N/A N/A N/A d addCallback N/A self _testPool_1_1 N/A N/A N/A d addCallback N/A self _testPool_1_2 N/A N/A N/A d addCallback N/A self _testPool_1_3 N/A N/A N/A d addCallback N/A self _testPool_1_4 N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A self flushLoggedErrors N/A N/A N/A d addCallback N/A self _testPool_2 N/A N/A N/A d addCallback N/A self _testPool_3 N/A N/A N/A d addCallback N/A self _testPool_4 N/A N/A N/A d addCallback N/A self _testPool_5 N/A N/A N/A d addCallback N/A self _testPool_6 N/A N/A N/A d addCallback N/A self _testPool_7 N/A N/A N/A d addCallback N/A self _testPool_8 N/A N/A N/A d addCallback N/A self _testPool_9 N/A d N/A _testPool_1_1 N/A N/A self res N/A N/A N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runQuery select * from NOTABLE N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A None N/A d N/A _testPool_1_2 N/A N/A self res N/A N/A N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runOperation deletexxx from NOTABLE N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A None N/A d N/A _testPool_1_3 N/A N/A self res N/A N/A N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runInteraction N/A self bad_interaction N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A None N/A d N/A _testPool_1_4 N/A N/A self res N/A N/A N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runWithConnection N/A self bad_withConnection N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A None N/A d N/A _testPool_2 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A d N/A N/A N/A self dbpool runQuery sql _check N/A N/A row N/A N/A N/A N/A N/A self failUnless N/A N/A int N/A N/A row N/A 0 N/A 0 0 Interaction not rolled back N/A N/A N/A self checkOpenfunCalled N/A N/A N/A N/A d addCallback _check N/A d N/A _testPool_3 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A inserts N/A N/A i N/A range N/A self num_iterations N/A N/A sql N/A insert into simple(x) values(%d) i N/A N/A N/A inserts append N/A N/A N/A self dbpool runOperation sql N/A d N/A N/A defer gatherResults inserts _select N/A N/A res N/A N/A N/A sql select x from simple order by x N/A d N/A N/A N/A self dbpool runQuery sql N/A d N/A N/A N/A N/A d addCallback _select _check N/A N/A rows N/A N/A N/A N/A N/A self failUnless N/A N/A len rows N/A self num_iterations Wrong number of rows N/A i N/A range N/A self num_iterations N/A N/A N/A N/A self failUnless N/A N/A len N/A rows N/A i 1 Wrong size row N/A N/A N/A self failUnless N/A N/A N/A rows N/A i N/A 0 i Values not returned. N/A N/A N/A N/A d addCallback _check N/A d N/A _testPool_4 N/A N/A self res N/A N/A N/A d N/A N/A N/A self dbpool runInteraction N/A self interaction N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A self assertEquals res done N/A d N/A _testPool_5 N/A N/A self res N/A N/A N/A d N/A N/A N/A self dbpool runWithConnection N/A self withConnection N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A self assertEquals res done N/A d N/A _testPool_6 N/A N/A self res N/A N/A N/A d N/A N/A N/A self dbpool runWithConnection N/A self close_withConnection N/A d N/A _testPool_7 N/A N/A self res N/A N/A N/A ds N/A N/A i N/A range N/A self num_iterations N/A N/A sql N/A select x from simple where x = %d i N/A N/A N/A ds append N/A N/A N/A self dbpool runQuery sql N/A dlist N/A N/A defer DeferredList ds fireOnOneErrback True _check N/A N/A result N/A N/A N/A i N/A range N/A self num_iterations N/A N/A N/A N/A self failUnless N/A N/A N/A N/A N/A result N/A i N/A 1 N/A 0 N/A 0 i Value not returned N/A N/A N/A N/A dlist addCallback _check N/A dlist N/A _testPool_8 N/A N/A self res N/A N/A N/A ds N/A N/A i N/A range N/A self num_iterations N/A N/A sql N/A delete from simple where x = %d i N/A N/A N/A ds append N/A N/A N/A self dbpool runOperation sql N/A dlist N/A N/A defer DeferredList ds fireOnOneErrback True N/A dlist N/A _testPool_9 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A d N/A N/A N/A self dbpool runQuery sql _check N/A N/A row N/A N/A N/A N/A N/A self failUnless N/A N/A int N/A N/A row N/A 0 N/A 0 0 Didn't successfully delete table contents N/A N/A N/A self checkConnect N/A N/A N/A N/A d addCallback _check N/A d N/A checkConnect N/A N/A self N/A N/A N/A Check the connect/disconnect synchronous calls. N/A conn N/A N/A N/A self dbpool connect N/A N/A N/A self checkOpenfunCalled conn N/A curs N/A N/A conn cursor N/A N/A N/A curs execute insert into simple(x) values(1) N/A N/A N/A curs execute select x from simple N/A res N/A N/A curs fetchall N/A N/A N/A self failUnlessEqual N/A len res 1 N/A N/A N/A self failUnlessEqual N/A len N/A res N/A 0 1 N/A N/A N/A self failUnlessEqual N/A N/A res N/A 0 N/A 0 1 N/A N/A N/A curs execute delete from simple N/A N/A N/A curs execute select x from simple N/A N/A N/A self failUnlessEqual N/A len N/A N/A curs fetchall 0 N/A N/A N/A curs close N/A N/A N/A N/A self dbpool disconnect conn N/A interaction N/A N/A self transaction N/A N/A N/A N/A N/A transaction execute select x from simple order by x N/A i N/A range N/A self num_iterations N/A N/A row N/A N/A transaction fetchone N/A N/A N/A self failUnless N/A N/A len row 1 Wrong size row N/A N/A N/A self failUnless N/A N/A row N/A 0 i Value not returned. N/A done N/A bad_interaction N/A N/A self transaction N/A N/A N/A N/A self can_rollback N/A N/A N/A N/A transaction execute insert into simple(x) values(0) N/A N/A N/A transaction execute select * from NOTABLE N/A withConnection N/A N/A self conn N/A N/A N/A curs N/A N/A conn cursor N/A N/A N/A N/A N/A curs execute select x from simple order by x N/A i N/A range N/A self num_iterations N/A N/A row N/A N/A curs fetchone N/A N/A N/A self failUnless N/A N/A len row 1 Wrong size row N/A N/A N/A self failUnless N/A N/A row N/A 0 i Value not returned. N/A N/A N/A N/A curs close N/A done N/A close_withConnection N/A N/A self conn N/A N/A N/A N/A N/A conn close N/A bad_withConnection N/A N/A self conn N/A N/A N/A curs N/A N/A conn cursor N/A N/A N/A N/A N/A curs execute select * from NOTABLE N/A N/A N/A N/A curs close N/A N/A ReconnectTestBase N/A N/A N/A Test the asynchronous DB-API code with reconnect. N/A N/A N/A N/A interfaces IReactorThreads reactor None None N/A N/A skip ADB-API requires threads, no way to test without them extraSetUp N/A N/A self N/A N/A N/A 
        Skip the test if C{good_sql} is unavailable.  Otherwise, set up the
        database, create a connection pool pointed at it, and set up a simple
        schema in it.
         N/A N/A N/A self good_sql None N/A N/A N/A N/A unittest SkipTest no good sql for reconnect test N/A N/A N/A self startDB N/A N/A self dbpool N/A N/A self makePool cp_max 1 cp_reconnect True cp_good_sql N/A self good_sql N/A N/A N/A N/A self dbpool start N/A N/A N/A N/A self dbpool runOperation simple_table_schema N/A tearDown N/A N/A self N/A N/A N/A d N/A N/A N/A self dbpool runOperation DROP TABLE simple N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A N/A self dbpool close N/A N/A N/A d addCallback N/A N/A N/A res N/A N/A N/A self stopDB N/A d N/A testPool N/A N/A self N/A N/A N/A d N/A N/A defer succeed None N/A N/A N/A d addCallback N/A self _testPool_1 N/A N/A N/A d addCallback N/A self _testPool_2 N/A N/A N/A self early_reconnect N/A N/A N/A N/A d addCallback N/A self _testPool_3 N/A N/A N/A d addCallback N/A self _testPool_4 N/A N/A N/A d addCallback N/A self _testPool_5 N/A d N/A _testPool_1 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A d N/A N/A N/A self dbpool runQuery sql _check N/A N/A row N/A N/A N/A N/A N/A self failUnless N/A N/A int N/A N/A row N/A 0 N/A 0 0 Table not empty N/A N/A N/A N/A d addCallback _check N/A d N/A _testPool_2 N/A N/A self res N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self dbpool connections values N/A 0 close N/A _testPool_3 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runQuery sql N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A None N/A d N/A _testPool_4 N/A N/A self res N/A N/A N/A sql select count(1) from simple N/A d N/A N/A N/A self dbpool runQuery sql _check N/A N/A row N/A N/A N/A N/A N/A self failUnless N/A N/A int N/A N/A row N/A 0 N/A 0 0 Table not empty N/A N/A N/A N/A d addCallback _check N/A d N/A _testPool_5 N/A N/A self res N/A N/A N/A N/A N/A self flushLoggedErrors N/A sql select * from NOTABLE N/A d N/A N/A defer maybeDeferred N/A N/A self dbpool runQuery sql N/A N/A N/A d addCallbacks N/A N/A N/A res N/A N/A N/A self fail no exception N/A N/A N/A f N/A N/A N/A self failIf N/A N/A f check ConnectionLost N/A d N/A N/A DBTestConnector N/A N/A N/A A class which knows how to test for the presence of
    and establish a connection to a relational database.

    To enable test cases  which use a central, system database,
    you must create a database named DB_NAME with a user DB_USER
    and password DB_PASS with full access rights to database DB_NAME.
     N/A TEST_PREFIX None N/A DB_NAME twisted_test N/A DB_USER twisted_test N/A DB_PASS twisted_test N/A DB_DIR None N/A nulls_ok True N/A trailing_spaces_ok True N/A can_rollback True N/A test_failures True N/A escape_slashes True N/A good_sql N/A ConnectionPool good_sql N/A early_reconnect True N/A can_clear True N/A num_iterations 50 setUp N/A N/A self N/A N/A N/A N/A self DB_DIR N/A N/A self mktemp N/A N/A N/A os mkdir N/A self DB_DIR N/A N/A N/A N/A self can_connect N/A N/A N/A N/A unittest SkipTest N/A %s: Cannot access db N/A self TEST_PREFIX N/A N/A N/A self extraSetUp N/A can_connect N/A N/A self N/A N/A N/A Return true if this database is present on the system
        and can be used in a test. N/A N/A NotImplementedError N/A startDB N/A N/A self N/A N/A N/A Take any steps needed to bring database up. N/A N/A stopDB N/A N/A self N/A N/A N/A Bring database down, if needed. N/A N/A makePool N/A N/A self N/A newkw N/A N/A Create a connection pool with additional keyword arguments. N/A N/A args kw N/A N/A self getPoolArgs N/A kw N/A N/A kw copy N/A N/A N/A kw update newkw N/A N/A ConnectionPool args kw N/A getPoolArgs N/A N/A self N/A N/A N/A Return a tuple (args, kw) of list and keyword arguments
        that need to be passed to ConnectionPool to create a connection
        to this database. N/A N/A NotImplementedError N/A N/A GadflyConnector N/A DBTestConnector N/A N/A TEST_PREFIX Gadfly N/A nulls_ok False N/A can_rollback False N/A escape_slashes False N/A good_sql select * from simple where 1=0 N/A num_iterations 1 can_connect N/A N/A self N/A N/A N/A N/A N/A gadfly N/A N/A N/A N/A False N/A N/A N/A getattr gadfly connect None N/A N/A N/A gadfly connect N/A gadfly gadfly N/A True N/A startDB N/A N/A self N/A N/A N/A gadfly N/A conn N/A N/A gadfly gadfly N/A N/A N/A conn startup N/A self DB_NAME N/A self DB_DIR N/A cursor N/A N/A conn cursor N/A N/A N/A cursor execute create table x (x integer) N/A N/A N/A conn commit N/A N/A N/A conn close N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A gadfly N/A self DB_NAME N/A self DB_DIR N/A kw N/A cp_max 1 N/A N/A args kw N/A N/A SQLiteConnector N/A DBTestConnector N/A N/A TEST_PREFIX SQLite N/A escape_slashes False N/A num_iterations 1 can_connect N/A N/A self N/A N/A N/A N/A N/A sqlite N/A N/A N/A N/A False N/A True N/A startDB N/A N/A self N/A N/A N/A N/A self database N/A N/A N/A os path join N/A self DB_DIR N/A self DB_NAME N/A N/A N/A N/A os path exists N/A self database N/A N/A N/A N/A os unlink N/A self database N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A sqlite N/A kw N/A database cp_max N/A self database 1 N/A N/A args kw N/A N/A PyPgSQLConnector N/A DBTestConnector N/A N/A TEST_PREFIX PyPgSQL can_connect N/A N/A self N/A N/A N/A N/A pyPgSQL PgSQL N/A N/A N/A N/A False N/A N/A N/A conn N/A N/A PgSQL connect database N/A self DB_NAME user N/A self DB_USER password N/A self DB_PASS N/A N/A N/A conn close N/A True N/A N/A N/A N/A False N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A pyPgSQL.PgSQL N/A kw N/A database user password cp_min N/A self DB_NAME N/A self DB_USER N/A self DB_PASS 0 N/A N/A args kw N/A N/A PsycopgConnector N/A DBTestConnector N/A N/A TEST_PREFIX Psycopg can_connect N/A N/A self N/A N/A N/A N/A N/A psycopg N/A N/A N/A N/A False N/A N/A N/A conn N/A N/A psycopg connect database N/A self DB_NAME user N/A self DB_USER password N/A self DB_PASS N/A N/A N/A conn close N/A True N/A N/A N/A N/A False N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A psycopg N/A kw N/A database user password cp_min N/A self DB_NAME N/A self DB_USER N/A self DB_PASS 0 N/A N/A args kw N/A N/A MySQLConnector N/A DBTestConnector N/A N/A TEST_PREFIX MySQL N/A trailing_spaces_ok False N/A can_rollback False N/A early_reconnect False can_connect N/A N/A self N/A N/A N/A N/A N/A MySQLdb N/A N/A N/A N/A False N/A N/A N/A conn N/A N/A MySQLdb connect db N/A self DB_NAME user N/A self DB_USER passwd N/A self DB_PASS N/A N/A N/A conn close N/A True N/A N/A N/A N/A False N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A MySQLdb N/A kw N/A db user passwd N/A self DB_NAME N/A self DB_USER N/A self DB_PASS N/A N/A args kw N/A N/A FirebirdConnector N/A DBTestConnector N/A N/A TEST_PREFIX Firebird N/A test_failures False N/A escape_slashes False N/A good_sql None N/A can_clear False N/A num_iterations 5 can_connect N/A N/A self N/A N/A N/A N/A N/A kinterbasdb N/A N/A N/A N/A False N/A N/A N/A N/A N/A self startDB N/A N/A N/A self stopDB N/A True N/A N/A N/A N/A False N/A startDB N/A N/A self N/A N/A N/A kinterbasdb N/A N/A self DB_NAME N/A N/A N/A os path join N/A self DB_DIR N/A DBTestConnector DB_NAME N/A N/A N/A os chmod N/A self DB_DIR N/A N/A N/A stat S_IRWXU N/A stat S_IRWXG N/A stat S_IRWXO N/A sql create database "%s" user "%s" password "%s" N/A sql N/A N/A self DB_NAME N/A self DB_USER N/A self DB_PASS N/A conn N/A N/A kinterbasdb create_database sql N/A N/A N/A conn close N/A getPoolArgs N/A N/A self N/A N/A N/A args N/A kinterbasdb N/A kw N/A database host user password N/A self DB_NAME 127.0.0.1 N/A self DB_USER N/A self DB_PASS N/A N/A args kw N/A stopDB N/A N/A self N/A N/A N/A kinterbasdb N/A conn N/A N/A kinterbasdb connect database N/A self DB_NAME host 127.0.0.1 user N/A self DB_USER password N/A self DB_PASS N/A N/A N/A conn drop_database N/A N/A makeSQLTests N/A N/A base suffix globals N/A N/A N/A 
    Make a test case for every db connector which can connect.

    @param base: Base class for test case. Additional base classes
                 will be a DBConnector subclass and unittest.TestCase
    @param suffix: A suffix used to create test case names. Prefixes
                   are defined in the DBConnector subclasses.
     N/A connectors N/A GadflyConnector SQLiteConnector PyPgSQLConnector PsycopgConnector MySQLConnector FirebirdConnector N/A connclass connectors N/A N/A name N/A N/A connclass TEST_PREFIX suffix N/A klass N/A N/A new classobj name N/A connclass base N/A unittest TestCase N/A base __dict__ N/A N/A globals N/A name klass N/A N/A N/A makeSQLTests ADBAPITestBase ADBAPITestCase N/A globals N/A N/A makeSQLTests ReconnectTestBase ReconnectTestCase N/A globals DeprecationTestCase N/A N/A unittest TestCase N/A N/A 
    Test deprecations in twisted.enterprise.adbapi
     test_safe N/A N/A self N/A N/A N/A 
        Test deprecation of twisted.enterprise.adbapi.safe()
         N/A result N/A N/A self callDeprecated _unreleasedVersion safe test' N/A N/A N/A self assertEqual result test'' N/A N/A FakePool N/A object N/A N/A 
    A fake L{ConnectionPool} for tests.

    @ivar connectionFactory: factory for making connections returned by the
        C{connect} method.
    @type connectionFactory: any callable
     N/A reconnect True N/A noisy True __init__ N/A N/A self connectionFactory N/A N/A N/A N/A self connectionFactory connectionFactory N/A connect N/A N/A self N/A N/A N/A 
        Return an instance of C{self.connectionFactory}.
         N/A N/A N/A self connectionFactory N/A disconnect N/A N/A self connection N/A N/A N/A 
        Do nothing.
         N/A N/A ConnectionTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for the L{Connection} class.
     test_rollbackErrorLogged N/A N/A self N/A N/A N/A 
        If an error happens during rollback, L{ConnectionLost} is raised but
        the original error is logged.
         ConnectionRollbackRaise N/A object N/A rollback N/A N/A self N/A N/A N/A N/A RuntimeError problem! N/A N/A N/A pool N/A FakePool ConnectionRollbackRaise N/A connection N/A Connection pool N/A N/A N/A self assertRaises ConnectionLost N/A connection rollback N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEquals N/A len errors 1 N/A N/A N/A self assertEquals N/A N/A N/A N/A errors N/A 0 value args N/A 0 problem! N/A N/A TransactionTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for the L{Transaction} class.
     test_reopenLogErrorIfReconnect N/A N/A self N/A N/A N/A 
        If the cursor creation raises an error in L{Transaction.reopen}, it
        reconnects but log the error occurred.
         ConnectionCursorRaise N/A object N/A N/A count 0 reconnect N/A N/A self N/A N/A N/A N/A cursor N/A N/A self N/A N/A N/A N/A N/A self count 0 N/A N/A N/A self count 1 N/A N/A RuntimeError problem! N/A N/A N/A pool N/A FakePool None N/A transaction N/A Transaction pool N/A ConnectionCursorRaise N/A N/A N/A transaction reopen N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEquals N/A len errors 1 N/A N/A N/A self assertEquals N/A N/A N/A N/A errors N/A 0 value args N/A 0 problem! N/A N/A NonThreadPool N/A object N/A callInThreadWithCallback N/A N/A self onResult f N/A a kw N/A N/A success True N/A N/A N/A result N/A f a kw N/A N/A N/A Exception N/A e N/A N/A success False N/A result N/A Failure N/A N/A onResult success result N/A N/A DummyConnectionPool N/A ConnectionPool N/A N/A 
    A testable L{ConnectionPool};
     N/A threadpool N/A NonThreadPool __init__ N/A N/A self N/A N/A N/A 
        Don't forward init call.
         N/A N/A self reactor reactor N/A N/A EventReactor N/A object N/A N/A 
    Partial L{IReactorCore} implementation with simple event-related
    methods.

    @ivar _running: A C{bool} indicating whether the reactor is pretending
        to have been started already or not.

    @ivar triggers: A C{list} of pending system event triggers.
     __init__ N/A N/A self running N/A N/A N/A N/A self _running running N/A N/A self triggers N/A N/A callWhenRunning N/A N/A self function N/A N/A N/A N/A self _running N/A N/A N/A function N/A N/A N/A N/A self addSystemEventTrigger after startup function N/A addSystemEventTrigger N/A N/A self phase event trigger N/A N/A N/A handle N/A phase event trigger N/A N/A N/A N/A self triggers append handle N/A handle N/A removeSystemEventTrigger N/A N/A self handle N/A N/A N/A N/A N/A N/A self triggers remove handle N/A N/A ConnectionPoolTestCase N/A N/A unittest TestCase N/A N/A 
    Unit tests for L{ConnectionPool}.
     test_runWithConnectionRaiseOriginalError N/A N/A self N/A N/A N/A 
        If rollback fails, L{ConnectionPool.runWithConnection} raises the
        original exception and log the error of the rollback.
         ConnectionRollbackRaise N/A object N/A __init__ N/A N/A self pool N/A N/A N/A N/A rollback N/A N/A self N/A N/A N/A N/A RuntimeError problem! N/A N/A raisingFunction N/A N/A connection N/A N/A N/A N/A ValueError foo N/A N/A pool N/A DummyConnectionPool N/A N/A pool connectionFactory ConnectionRollbackRaise N/A d N/A N/A pool runWithConnection raisingFunction N/A d N/A N/A self assertFailure d ValueError cbFailed N/A N/A ignored N/A N/A N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEquals N/A len errors 1 N/A N/A N/A self assertEquals N/A N/A N/A N/A errors N/A 0 value args N/A 0 problem! N/A N/A N/A N/A d addCallback cbFailed N/A d N/A test_closeLogError N/A N/A self N/A N/A N/A 
        L{ConnectionPool._close} logs exceptions.
         ConnectionCloseRaise N/A object N/A close N/A N/A self N/A N/A N/A N/A RuntimeError problem! N/A N/A N/A pool N/A DummyConnectionPool N/A N/A N/A pool _close N/A ConnectionCloseRaise N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEquals N/A len errors 1 N/A N/A N/A self assertEquals N/A N/A N/A N/A errors N/A 0 value args N/A 0 problem! N/A test_runWithInteractionRaiseOriginalError N/A N/A self N/A N/A N/A 
        If rollback fails, L{ConnectionPool.runInteraction} raises the
        original exception and log the error of the rollback.
         ConnectionRollbackRaise N/A object N/A __init__ N/A N/A self pool N/A N/A N/A N/A rollback N/A N/A self N/A N/A N/A N/A RuntimeError problem! N/A N/A DummyTransaction N/A object N/A __init__ N/A N/A self pool connection N/A N/A N/A N/A N/A raisingFunction N/A N/A transaction N/A N/A N/A N/A ValueError foo N/A N/A pool N/A DummyConnectionPool N/A N/A pool connectionFactory ConnectionRollbackRaise N/A N/A pool transactionFactory DummyTransaction N/A d N/A N/A pool runInteraction raisingFunction N/A d N/A N/A self assertFailure d ValueError cbFailed N/A N/A ignored N/A N/A N/A errors N/A N/A self flushLoggedErrors RuntimeError N/A N/A N/A self assertEquals N/A len errors 1 N/A N/A N/A self assertEquals N/A N/A N/A N/A errors N/A 0 value args N/A 0 problem! N/A N/A N/A N/A d addCallback cbFailed N/A d N/A test_unstartedClose N/A N/A self N/A N/A N/A 
        If L{ConnectionPool.close} is called without L{ConnectionPool.start}
        having been called, the pool's startup event is cancelled.
         N/A reactor N/A EventReactor False N/A pool N/A ConnectionPool twisted.test.test_adbapi cp_reactor reactor N/A N/A N/A self assertEquals N/A reactor triggers N/A N/A after startup N/A pool _start N/A N/A N/A pool close N/A N/A N/A self assertFalse N/A reactor triggers N/A test_startedClose N/A N/A self N/A N/A N/A 
        If L{ConnectionPool.close} is called after it has been started, but
        not by its shutdown trigger, the shutdown trigger is cancelled.
         N/A reactor N/A EventReactor True N/A pool N/A ConnectionPool twisted.test.test_adbapi cp_reactor reactor N/A N/A N/A self assertEquals N/A reactor triggers N/A N/A during shutdown N/A pool finalClose N/A N/A N/A pool close N/A N/A N/A self assertFalse N/A reactor triggers N/A N/A