Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num For NameStore TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIs Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareIs Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore TupleLoad Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A 
Test include/exclude functionality.
 flask Blueprint flask_track_usage TrackUsage N/A FlaskTrackUsageTestCase TestStorage TestBlueprintIncludeExclude N/A FlaskTrackUsageTestCase N/A N/A 
    Tests blueprint include/exclude functionality.
     setUp N/A N/A self N/A N/A N/A 
        Set up an app to test with.
         N/A N/A N/A FlaskTrackUsageTestCase setUp self N/A N/A self storage N/A TestStorage N/A N/A self blueprint N/A Blueprint test_blueprint __name__ included N/A N/A N/A N/A N/A INCLUDED N/A N/A N/A N/A self blueprint route /included excluded N/A N/A N/A N/A N/A EXCLUDED N/A N/A N/A N/A self blueprint route /excluded N/A N/A N/A N/A self app register_blueprint N/A self blueprint N/A test_raw_blueprint N/A N/A self N/A N/A N/A 
        Verify that raw blueprints don't get modified.
         N/A N/A N/A N/A self app config N/A TRACK_USAGE_INCLUDE_OR_EXCLUDE_VIEWS include N/A tu N/A TrackUsage N/A self app N/A self storage N/A N/A N/A len N/A tu _include_views 0 N/A N/A N/A len N/A tu _exclude_views 0 N/A page N/A / /included /excluded N/A N/A N/A N/A N/A self client get page N/A N/A N/A self assertRaises IndexError N/A N/A N/A N/A N/A self storage get N/A test_include_blueprint N/A N/A self N/A N/A N/A 
        Verify that an entire blueprint can be included.
         N/A N/A N/A N/A self app config N/A TRACK_USAGE_INCLUDE_OR_EXCLUDE_VIEWS include N/A tu N/A TrackUsage N/A self app N/A self storage N/A N/A N/A tu include_blueprint N/A self blueprint N/A N/A N/A len N/A tu _include_views 2 N/A N/A N/A len N/A tu _exclude_views 0 N/A page N/A /included /excluded N/A N/A N/A N/A N/A self client get page N/A N/A N/A type N/A N/A N/A self storage get dict N/A N/A N/A N/A self client get / N/A N/A N/A self assertRaises IndexError N/A N/A N/A N/A N/A self storage get N/A test_exclude_blueprint N/A N/A self N/A N/A N/A 
        Verify that an entire blueprint can be excluded.
         N/A N/A N/A N/A self app config N/A TRACK_USAGE_INCLUDE_OR_EXCLUDE_VIEWS exclude N/A tu N/A TrackUsage N/A self app N/A self storage N/A N/A N/A tu exclude_blueprint N/A self blueprint N/A N/A N/A len N/A tu _include_views 0 N/A N/A N/A len N/A tu _exclude_views 2 N/A N/A N/A N/A self client get / N/A N/A N/A type N/A N/A N/A self storage get dict N/A page N/A /included /excluded N/A N/A N/A N/A N/A self client get page N/A N/A N/A self assertRaises IndexError N/A N/A N/A N/A N/A self storage get N/A N/A