Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad keyword ListLoad Str Str FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad keyword ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
    test
    ~~~~

    Flask-Cors tests module
 base_test FlaskCorsTestCase flask Flask flask_cors * flask_cors.core * AllowHeadersTestCaseIntegration N/A FlaskCorsTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self app N/A Flask __name__ test_default N/A N/A N/A N/A N/A Welcome! N/A N/A N/A N/A self app route /test_default N/A cross_origin test_allow_headers N/A N/A N/A N/A N/A Welcome! N/A N/A N/A N/A self app route /test_allow_headers N/A cross_origin allow_headers N/A X-Example-Header-B X-Example-Header-A test_allow_headers_regex N/A N/A N/A N/A N/A Welcome! N/A N/A N/A N/A self app route /test_allow_headers_regex N/A cross_origin allow_headers N/A X-COMPANY-.* N/A test_default N/A N/A self N/A N/A N/A resp N/A N/A self iter_responses /test_default N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A resp headers get ACL_ALLOW_HEADERS None Default should have no allowed headers N/A test_allow_headers_no_request_headers N/A N/A self N/A N/A N/A 
        No ACL_REQUEST_HEADERS sent, ACL_ALLOW_HEADERS should be empty
         N/A resp N/A N/A self preflight /test_allow_headers origin www.example.com N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS None N/A test_allow_headers_with_request_headers N/A N/A self N/A N/A N/A 
            If there is an Access-Control-Request-Method header in the request
            and Access-Control-Request-Method is allowed for cross origin
            requests and request method is OPTIONS, and every element in the
            Access-Control-Request-Headers is an allowed header, the
            Access-Control-Allow-Headers header should be echoed back.
         N/A resp N/A N/A self preflight /test_allow_headers origin www.example.com cors_request_headers N/A X-Example-Header-A N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS X-Example-Header-A N/A test_allow_headers_with_unmatched_request_headers N/A N/A self N/A N/A N/A 
            If every element in the Access-Control-Request-Headers is not an
            allowed header, then the matching headers should be returned.
         N/A resp N/A N/A self preflight /test_allow_headers origin www.example.com cors_request_headers N/A X-Not-Found-Header N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS None N/A resp N/A N/A self preflight /test_allow_headers origin www.example.com cors_request_headers N/A X-Example-Header-A X-Not-Found-Header N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS X-Example-Header-A N/A test_allow_headers_regex N/A N/A self N/A N/A N/A 
            If every element in the Access-Control-Request-Headers is not an
            allowed header, then the matching headers should be returned.
         N/A resp N/A N/A self preflight /test_allow_headers_regex origin www.example.com cors_request_headers N/A X-COMPANY-FOO N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS X-COMPANY-FOO N/A resp N/A N/A self preflight /test_allow_headers_regex origin www.example.com cors_request_headers N/A X-Not-Found-Header N/A N/A N/A self assertEqual N/A N/A N/A resp headers get ACL_ALLOW_HEADERS None N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main