Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases Call NameLoad Str Str body Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd CompareEq Call NameLoad SubscriptLoad NameLoad Index Num Num CompareIn NameLoad SubscriptLoad NameLoad Index Num body Return TupleLoad ListLoad ListLoad ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad SubscriptLoad NameLoad Index Num body Return TupleLoad ListLoad ListLoad ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIn NameLoad SubscriptLoad NameLoad Index Num body Return TupleLoad ListLoad ListLoad ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr decorator_list With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad TryFinally body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot NameLoad NameLoad Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareIsNot NameLoad NameLoad Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot NameLoad NameLoad Assert CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Lambda arguments args defaults CompareEq SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad ListLoad ListLoad Num Index Num ListLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore BinOpAdd Str AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult BinOpMult Str Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad CompareLt NameLoad TupleLoad Num Num body Assign NameStore NameLoad orelse If BoolOpAnd NameLoad CompareGtE NameLoad TupleLoad Num Num body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareLt SubscriptLoad NameLoad Index Num Num body Assign NameStore NameLoad If NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list decorator_list
N/A collections namedtuple N/A os N/A threading N/A time N/A uuid N/A struct nose SkipTest nose.tools eq_ nose.tools raises N/A mock kazoo.exceptions ConnectionLoss kazoo.protocol.serialization Connect int_struct write_string kazoo.protocol.states KazooState kazoo.protocol.connection _CONNECTION_DROP kazoo.testing KazooTestCase kazoo.tests.util wait kazoo.tests.util TRAVIS_ZK_VERSION Delete N/A N/A namedtuple Delete path version N/A N/A type 2 serialize N/A N/A self N/A N/A N/A b N/A bytearray N/A N/A N/A b extend N/A write_string N/A self path N/A N/A N/A b extend N/A N/A int_struct pack N/A self version N/A b N/A deserialize N/A N/A self bytes offset N/A N/A N/A N/A ValueError oh my N/A classmethod N/A TestConnectionHandler N/A KazooTestCase N/A test_bad_deserialization N/A N/A self N/A N/A N/A async_object N/A N/A N/A N/A self client handler async_result N/A N/A N/A N/A N/A self client _queue append N/A N/A Delete N/A N/A self client chroot -1 async_object N/A N/A N/A N/A N/A N/A self client _connection _write_sock send testit N/A N/A N/A N/A N/A N/A N/A async_object get N/A N/A raises ValueError N/A N/A testit N/A test_with_bad_sessionid N/A N/A self N/A N/A N/A ev N/A N/A threading Event expired N/A N/A state N/A N/A N/A N/A state N/A KazooState CONNECTED N/A N/A N/A N/A ev set N/A N/A password N/A N/A os urandom 16 N/A client N/A N/A self _get_client client_id N/A 82838284824 password N/A N/A N/A client add_listener expired N/A N/A N/A client start N/A N/A N/A N/A N/A ev wait 15 N/A N/A eq_ N/A N/A ev is_set True N/A N/A N/A N/A client stop N/A test_connection_read_timeout N/A N/A self N/A N/A N/A client N/A self client N/A ev N/A N/A threading Event N/A path N/A / N/A N/A N/A uuid uuid4 hex N/A handler N/A client handler N/A _select N/A handler select N/A _socket N/A N/A client _connection _socket delayed_select N/A N/A N/A args kwargs N/A N/A result N/A _select args kwargs N/A N/A N/A N/A len N/A args N/A 0 1 N/A _socket N/A args N/A 0 N/A N/A N/A N/A N/A N/A N/A result N/A back N/A N/A state N/A N/A N/A N/A state N/A KazooState CONNECTED N/A N/A N/A N/A ev set N/A N/A N/A N/A client add_listener back N/A N/A N/A client create path 1 N/A N/A N/A N/A handler select delayed_select N/A N/A N/A self assertRaises ConnectionLoss N/A client get path N/A N/A N/A handler select _select N/A N/A N/A ev wait 5 N/A N/A eq_ N/A N/A ev is_set True N/A N/A eq_ N/A N/A N/A client get path N/A 0 1 N/A test_connection_write_timeout N/A N/A self N/A N/A N/A client N/A self client N/A ev N/A N/A threading Event N/A path N/A / N/A N/A N/A uuid uuid4 hex N/A handler N/A client handler N/A _select N/A handler select N/A _socket N/A N/A client _connection _socket delayed_select N/A N/A N/A args kwargs N/A N/A result N/A _select args kwargs N/A N/A _socket N/A args N/A 1 N/A N/A N/A N/A N/A N/A N/A result N/A back N/A N/A state N/A N/A N/A N/A state N/A KazooState CONNECTED N/A N/A N/A N/A ev set N/A N/A N/A N/A client add_listener back N/A N/A N/A N/A handler select delayed_select N/A N/A N/A self assertRaises ConnectionLoss N/A client create path N/A N/A N/A handler select _select N/A N/A N/A ev wait 5 N/A N/A eq_ N/A N/A ev is_set True N/A N/A eq_ N/A N/A client exists path None N/A test_connection_deserialize_fail N/A N/A self N/A N/A N/A client N/A self client N/A ev N/A N/A threading Event N/A path N/A / N/A N/A N/A uuid uuid4 hex N/A handler N/A client handler N/A _select N/A handler select N/A _socket N/A N/A client _connection _socket delayed_select N/A N/A N/A args kwargs N/A N/A result N/A _select args kwargs N/A N/A _socket N/A args N/A 1 N/A N/A N/A N/A N/A N/A N/A result N/A back N/A N/A state N/A N/A N/A N/A state N/A KazooState CONNECTED N/A N/A N/A N/A ev set N/A N/A N/A N/A client add_listener back N/A deserialize_ev N/A N/A threading Event bad_deserialize N/A N/A _bytes offset N/A N/A N/A N/A N/A deserialize_ev set N/A N/A N/A struct error N/A N/A N/A N/A N/A mock patch object Connect deserialize mock_deserialize N/A N/A N/A mock_deserialize side_effect bad_deserialize N/A N/A N/A N/A handler select delayed_select N/A N/A N/A self assertRaises ConnectionLoss N/A client create path N/A N/A N/A handler select _select N/A N/A N/A deserialize_ev wait 5 N/A N/A eq_ N/A N/A deserialize_ev is_set True N/A N/A N/A ev wait 5 N/A N/A eq_ N/A N/A ev is_set True N/A N/A eq_ N/A N/A client exists path None N/A test_connection_close N/A N/A self N/A N/A N/A N/A N/A self assertRaises Exception N/A N/A self client close N/A N/A N/A N/A self client stop N/A N/A N/A N/A self client close N/A N/A N/A N/A self client start N/A test_connection_sock N/A N/A self N/A N/A N/A client N/A self client N/A read_sock N/A N/A client _connection _read_sock N/A write_sock N/A N/A client _connection _write_sock N/A N/A read_sock None N/A N/A write_sock None N/A N/A N/A client stop N/A N/A read_sock None N/A N/A write_sock None N/A N/A N/A read_sock getsockname N/A N/A N/A write_sock getsockname N/A N/A N/A client close N/A N/A N/A client start N/A read_sock N/A N/A client _connection _read_sock N/A write_sock N/A N/A client _connection _write_sock N/A N/A read_sock None N/A N/A write_sock None N/A N/A N/A read_sock getsockname N/A N/A N/A write_sock getsockname N/A test_dirty_sock N/A N/A self N/A N/A N/A client N/A self client N/A read_sock N/A N/A client _connection _read_sock N/A write_sock N/A N/A client _connection _write_sock N/A N/A N/A write_sock send N/A N/A wait N/A N/A N/A N/A N/A N/A N/A N/A N/A client handler select N/A read_sock N/A N/A 0 N/A 0 N/A N/A N/A TestConnectionDrop N/A KazooTestCase N/A test_connection_dropped N/A N/A self N/A N/A N/A ev N/A N/A threading Event back N/A N/A state N/A N/A N/A N/A state N/A KazooState CONNECTED N/A N/A N/A N/A ev set N/A N/A path N/A / N/A N/A N/A uuid uuid4 hex N/A N/A N/A N/A self client create path N/A N/A N/A N/A self client add_listener back N/A result N/A N/A N/A self client set_async path N/A N/A a 1000 1024 N/A N/A N/A N/A self client _call _CONNECTION_DROP None N/A N/A N/A self assertRaises ConnectionLoss N/A result get N/A N/A N/A ev wait 30 N/A N/A eq_ N/A N/A ev is_set True N/A N/A TestReadOnlyMode N/A KazooTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A self setup_zookeeper read_only True N/A skip False N/A N/A TRAVIS_ZK_VERSION N/A TRAVIS_ZK_VERSION N/A 3 4 N/A N/A skip True N/A N/A N/A TRAVIS_ZK_VERSION N/A TRAVIS_ZK_VERSION N/A 3 4 N/A N/A skip False N/A N/A ver N/A N/A N/A self client server_version N/A N/A N/A ver N/A 1 4 N/A N/A skip True N/A skip N/A N/A N/A SkipTest Must use Zookeeper 3.4 or above N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self client stop N/A test_read_only N/A N/A self N/A N/A kazoo.exceptions NotReadOnlyCallError kazoo.protocol.states KeeperState N/A client N/A self client N/A states N/A N/A ev N/A N/A threading Event listen N/A N/A state N/A N/A N/A N/A N/A states append state N/A N/A N/A client client_state N/A KeeperState CONNECTED_RO N/A N/A N/A N/A ev set N/A N/A client add_listener N/A N/A N/A N/A N/A N/A N/A self cluster N/A 1 stop N/A N/A N/A N/A N/A self cluster N/A 2 stop N/A N/A N/A ev wait 6 N/A N/A eq_ N/A N/A ev is_set True N/A N/A eq_ N/A client client_state N/A KeeperState CONNECTED_RO N/A N/A eq_ N/A N/A client get_children / N/A testit N/A N/A N/A N/A N/A N/A N/A client create /fred N/A N/A raises NotReadOnlyCallError N/A N/A testit N/A N/A N/A time sleep 15 N/A N/A N/A N/A client remove_listener listen N/A N/A N/A N/A N/A self cluster N/A 1 run N/A N/A N/A N/A N/A self cluster N/A 2 run N/A N/A