Module Import alias Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assert NameLoad Assign NameStore Call NameLoad Str ListLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Raise AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListComp BinOpAdd Str Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Assign NameStore ListComp Call NameLoad keyword NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad While CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Num Assert UnaryOpNot AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list
N/A N/A gevent N/A pytest collections namedtuple N/A N/A azure.storage.blob BlobService N/A N/A N/A ImportError N/A azure.storage BlobService fast_wait fast_wait gevent coros wal_e exception wal_e.worker.wabs wabs_deleter N/A fast_wait N/A B N/A namedtuple Blob N/A name ContainerDeleteKeysCollector N/A object N/A N/A A callable to stand-in for bucket.delete_keys

    Used to test that given keys are bulk-deleted.

    Also can inject an exception.
     __init__ N/A N/A self N/A N/A N/A N/A self deleted_keys N/A N/A N/A self aborted_keys N/A N/A N/A self exc None N/A N/A self _exc_protect N/A N/A coros RLock N/A inject N/A N/A self exc N/A N/A N/A N/A N/A N/A self _exc_protect acquire N/A N/A self exc exc N/A N/A N/A N/A self _exc_protect release N/A __call__ N/A N/A self container key N/A N/A N/A N/A N/A N/A self _exc_protect acquire N/A N/A N/A N/A self exc N/A N/A N/A N/A N/A self aborted_keys append key N/A N/A N/A gevent sleep 0.1 N/A N/A self exc N/A N/A N/A N/A N/A self _exc_protect release N/A N/A N/A N/A self deleted_keys append key N/A N/A collect N/A N/A monkeypatch N/A N/A N/A Instead of performing bulk delete, collect key names deleted.

    This is to test invariants, as to ensure deleted keys are passed
    to boto properly.
     N/A collect N/A ContainerDeleteKeysCollector N/A N/A N/A monkeypatch setattr BlobService delete_blob collect N/A collect N/A N/A pytest fixture test_fast_wait N/A N/A N/A N/A N/A Annoy someone who causes fast-sleep test patching to regress.

    Someone could break the test-only monkey-patching of gevent.sleep
    without noticing and costing quite a bit of aggravation aggregated
    over time waiting in tests, added bit by bit.

    To avoid that, add this incredibly huge/annoying delay that can
    only be avoided by monkey-patch to catch the regression.
     N/A N/A N/A gevent sleep 300 N/A test_construction N/A N/A N/A N/A N/A The constructor basically works. N/A N/A N/A wabs_deleter Deleter test ing N/A test_close_error N/A N/A N/A N/A N/A Ensure that attempts to use a closed Deleter results in an error. N/A d N/A N/A wabs_deleter Deleter N/A BlobService test ing test-container N/A N/A N/A d close N/A N/A N/A pytest raises N/A exception UserCritical N/A N/A N/A N/A d delete no value should work N/A test_processes_one_deletion N/A N/A collect N/A N/A N/A key_name test-key-name N/A b N/A B name key_name N/A d N/A N/A wabs_deleter Deleter N/A BlobService test ing test-container N/A N/A N/A d delete b N/A N/A N/A d close N/A N/A N/A collect deleted_keys N/A key_name N/A test_processes_many_deletions N/A N/A collect N/A N/A N/A target N/A sorted N/A N/A test-key- N/A str x N/A x N/A range 20001 N/A blobs N/A N/A B name key_name N/A key_name target N/A d N/A N/A wabs_deleter Deleter N/A BlobService test ing test-container N/A b blobs N/A N/A N/A N/A d delete b N/A N/A N/A d close N/A N/A N/A sorted N/A collect deleted_keys target N/A test_retry_on_normal_error N/A N/A collect N/A N/A N/A Ensure retries are processed for most errors. N/A key_name test-key-name N/A b N/A B name key_name N/A N/A N/A collect inject N/A Exception Normal error N/A d N/A N/A wabs_deleter Deleter N/A BlobService test ing test-container N/A N/A N/A d delete b N/A N/A N/A len N/A collect aborted_keys 2 N/A N/A N/A N/A gevent sleep 0.1 N/A N/A N/A collect deleted_keys N/A N/A N/A collect inject None N/A N/A N/A d close N/A N/A N/A collect deleted_keys N/A key_name N/A test_no_retry_on_keyboadinterrupt N/A N/A collect N/A N/A N/A Ensure that KeyboardInterrupts are forwarded. N/A key_name test-key-name N/A b N/A B name key_name MarkedKeyboardInterrupt N/A KeyboardInterrupt N/A N/A N/A N/A N/A N/A collect inject N/A MarkedKeyboardInterrupt SIGINT, probably N/A d N/A N/A wabs_deleter Deleter N/A BlobService test ing test-container N/A N/A N/A pytest raises MarkedKeyboardInterrupt N/A N/A N/A N/A d delete b N/A True N/A N/A N/A N/A gevent sleep 0.1 N/A N/A N/A collect aborted_keys N/A key_name N/A N/A N/A collect inject None N/A N/A N/A d close N/A N/A N/A collect deleted_keys N/A