Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Str keyword Str keyword Str keyword NameLoad Assign NameStore Call NameLoad Str keyword Str keyword Str keyword NameLoad Assign NameStore Dict Str Str Dict Str Str Str Str Str Str Str Str Str NameLoad Num Num Str Num Num ListLoad Num Num Num Num Num Num Num Dict Str Str Str Str Str Str Str Str NameLoad Str Num Num ListLoad Dict Str Str Num ListLoad Num Num Num Num Num Num Num ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str TupleLoad Num Num TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A Test REST API. io BytesIO PIL Image flask url_for helpers IIIFTestCase TestRestAPI N/A IIIFTestCase N/A N/A Test signals and decorators. test_api_base N/A N/A self N/A N/A N/A Test API Base. N/A data N/A dict uuid valid:id version v2 N/A get_the_response N/A N/A self get iiifimagebase urlargs data N/A N/A N/A self assertEqual N/A get_the_response status_code 303 N/A test_api_info N/A N/A self N/A N/A N/A Test API Info not found case. flask jsonify N/A id_v1 N/A url_for iiifimagebase uuid valid:id version v1 _external True N/A id_v2 N/A url_for iiifimagebase uuid valid:id version v2 _external True N/A expected N/A v1 v2 N/A @context @id width height profile tile_width tile_height scale_factors http://library.stanford.edu/iiif/image-api/1.1/context.json id_v1 1280 1024 http://library.stanford.edu/iiif/image-api/compliance.html#level1 256 256 N/A 1 2 4 8 16 32 64 N/A @context @id protocol width height tiles profile http://iiif.io/api/image/2/context.json id_v2 http://iiif.io/api/image 1280 1024 N/A N/A width scaleFactors 256 N/A 1 2 4 8 16 32 64 N/A http://iiif.io/api/image/2/level2.json N/A get_the_response N/A N/A self get iiifimageinfo urlargs N/A dict uuid valid:id version v2 N/A N/A N/A self assert200 get_the_response N/A get_the_response N/A N/A self get iiifimageinfo urlargs N/A dict uuid valid:id version v2 N/A N/A N/A self assertEqual N/A N/A jsonify N/A N/A expected get v2 data N/A get_the_response data N/A get_the_response N/A N/A self get iiifimageinfo urlargs N/A dict uuid valid:id version v1 N/A N/A N/A self assert200 get_the_response N/A N/A N/A self assertEqual N/A N/A jsonify N/A N/A expected get v1 data N/A get_the_response data N/A test_api_info_not_found N/A N/A self N/A N/A N/A Test API Info. N/A get_the_response N/A N/A self get iiifimageinfo urlargs N/A dict uuid notfound version v2 N/A N/A N/A self assert404 get_the_response N/A test_api_not_found N/A N/A self N/A N/A N/A Test API not found case. N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid notfound version v2 region full size full rotation 0 quality default image_format png N/A N/A N/A self assert404 get_the_response N/A test_api_internal_server_error N/A N/A self N/A N/A N/A Test API internal server error case. N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid valid:id version v2 region full size full rotation 2220 quality default image_format png N/A N/A N/A self assert500 get_the_response N/A test_api_iiif_validation_error N/A N/A self N/A N/A N/A Test API iiif validation case. N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid valid:id version v1 region 200 size full rotation 2220 quality default image_format png N/A N/A N/A self assert400 get_the_response N/A test_api_stream_image N/A N/A self N/A N/A N/A Test API stream image. N/A tmp_file N/A BytesIO N/A image N/A N/A Image new RGBA N/A 1280 1024 N/A 255 0 0 0 N/A N/A N/A image save tmp_file png N/A N/A N/A tmp_file seek 0 N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid valid:id version v2 region full size full rotation 0 quality default image_format png N/A N/A N/A self assertEqual N/A get_the_response data N/A N/A tmp_file getvalue N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid valid:id version v2 region 200,200,200,200 size 300,300 rotation !50 quality color image_format pdf N/A N/A N/A self assert200 get_the_response N/A test_api_decorator N/A N/A self N/A N/A N/A Test API decorator. N/A get_the_response N/A N/A self get iiifimageapi urlargs N/A dict uuid valid:decorator:id version v2 region full size full rotation 0 quality default image_format png N/A N/A N/A self assert403 get_the_response N/A test_api_abort_all_methods_except_get N/A N/A self N/A N/A N/A Abort all methods but GET. N/A data N/A dict uuid valid:id version v2 region full size full rotation 0 quality default image_format png N/A get_the_response N/A N/A self post iiifimageapi urlargs data N/A N/A N/A self assert405 get_the_response N/A get_the_response N/A N/A self put iiifimageapi urlargs data N/A N/A N/A self assert405 get_the_response N/A get_the_response N/A N/A self delete iiifimageapi urlargs data N/A N/A N/A self assert405 get_the_response N/A get_the_response N/A N/A self patch iiifimageapi urlargs data N/A N/A N/A self assert405 get_the_response N/A N/A