Module ImportFrom alias alias ImportFrom alias ImportFrom alias alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body ImportFrom alias Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword Call NameLoad keyword Str Call NameLoad keyword Num Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Num Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad With Call NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str NameLoad Assign NameStore Call NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str NameLoad Assign NameStore Call NameLoad keyword Num keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str NameLoad Assign NameStore Call NameLoad keyword Num keyword NameLoad keyword Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Dict Str Str Num Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str decorator_list
N/A testtools TestCase ExpectedException moto mock_s3 mock Mock patch N/A monoprocessing MPUploadTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self s3 N/A mock_s3 N/A N/A N/A N/A self s3 start N/A N/A N/A N/A super MPUploadTest self setUp N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self s3 stop N/A N/A N/A N/A super MPUploadTest self tearDown N/A _makeit N/A N/A self N/A args kw N/A lacli.pool MPUpload N/A N/A MPUpload args kw N/A test_getupload_1 N/A N/A self N/A N/A N/A mp N/A N/A self _makeit N/A Mock newkey N/A Mock return_value baz N/A Mock chunks 1 foo N/A N/A N/A self assertEqual baz N/A N/A mp _getupload N/A N/A N/A N/A N/A mp conn newkey assert_called_with foo N/A test_getupload_2 N/A N/A self N/A N/A N/A c N/A Mock N/A N/A N/A c newupload return_value yo N/A mp N/A N/A self _makeit c N/A Mock chunks 2 foo N/A N/A N/A self assertEqual yo N/A N/A mp _getupload N/A N/A N/A N/A c newupload assert_called_with foo N/A N/A N/A c getupload return_value N/A Mock id bar N/A N/A mp upload_id bar N/A N/A N/A self assertEqual bar N/A N/A N/A mp _getupload id N/A N/A N/A N/A c getupload assert_called N/A test_submit_job N/A N/A self N/A N/A N/A source N/A Mock chunks 1 isfile True N/A mp N/A N/A self _makeit N/A Mock source foo N/A N/A N/A patch object mp do_part do_part N/A N/A N/A do_part return_value FooKey N/A rs N/A N/A mp submit_job N/A N/A monoprocessing Pool N/A N/A N/A self assertEqual FooKey N/A next rs N/A N/A ExpectedException StopIteration N/A N/A N/A next rs N/A test_get_result_empty N/A N/A self N/A N/A N/A rs N/A Mock N/A N/A N/A rs next side_effect StopIteration N/A source N/A Mock chunks 1 isfile True N/A mp N/A N/A self _makeit N/A Mock source foo lacore.exceptions UploadEmptyError N/A N/A N/A self assertRaises UploadEmptyError N/A mp get_result rs N/A test_get_result_exc_mp N/A N/A self N/A N/A N/A rs N/A Mock N/A N/A N/A rs next side_effect N/A N/A Mock etag foo StopIteration N/A source N/A Mock chunks 1 isfile True N/A mp N/A N/A self _makeit N/A Mock source foo lacli.exceptions CloudProviderUploadError N/A N/A mp upload N/A Mock N/A N/A N/A N/A mp conn complete_multipart side_effect Exception N/A N/A ExpectedException CloudProviderUploadError N/A N/A N/A N/A mp get_result rs N/A N/A N/A N/A N/A mp conn complete_multipart assert_called_with N/A mp upload N/A foo N/A test_get_result N/A N/A self sp N/A N/A N/A rs N/A Mock N/A N/A N/A rs next side_effect N/A N/A Mock etag footag StopIteration N/A source N/A Mock chunks 1 isfile True size 123 N/A mp N/A N/A self _makeit N/A Mock source foo N/A N/A mp upload N/A Mock N/A N/A N/A N/A mp conn complete_multipart return_value N/A Mock key_name bar etag bartag N/A N/A etag source N/A N/A mp get_result rs N/A N/A N/A sp assert_called_with bar 123 N/A N/A N/A N/A N/A mp conn complete_multipart assert_called_with N/A mp upload N/A footag N/A N/A N/A self assertTrue N/A source None N/A N/A patch lacli.pool.save_progress test_get_result2 N/A N/A self cf mkp svp N/A N/A N/A rs N/A Mock N/A N/A N/A rs next side_effect N/A N/A Mock etag footag StopIteration N/A source N/A Mock chunks 2 isfile True size 123 N/A N/A N/A source chunkstart return_value 666 N/A N/A cf return_value N/A Mock size 23 N/A mp N/A N/A self _makeit N/A Mock source foo N/A N/A mp upload N/A Mock N/A N/A N/A N/A mp conn complete_multipart return_value N/A Mock key_name bar etag bartag N/A N/A etag newsource N/A N/A mp get_result rs N/A N/A N/A svp assert_called_with bar 100 N/A N/A N/A mkp assert_called_with N/A part tx 1 0 N/A N/A N/A N/A N/A mp conn complete_multipart assert_called_with N/A mp upload N/A footag N/A N/A N/A N/A source chunkstart assert_called_with 1 N/A N/A N/A cf assert_called_with N/A source path skip 666 chunk N/A source chunk N/A N/A N/A self assertEqual N/A newsource size 23 N/A N/A patch lacli.pool.save_progress N/A patch lacli.pool.make_progress N/A patch lacli.pool.ChunkedFile N/A