Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad Call NameLoad NameLoad attr Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad handlers ExceptHandler body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg body Assign AttributeStore NameLoad attr Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Return Call NameLoad Call NameLoad Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Return NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Lambda arguments args NameParam defaults NameLoad Return Call NameLoad NameLoad decorator_list
N/A N/A sys N/A re functools wraps unittest TestCase ants.http Request ants.utils.spider iterate_spider_output ants.utils.python get_spec ContractsManager N/A object N/A N/A contracts N/A __init__ N/A N/A self contracts N/A N/A N/A contract contracts N/A N/A N/A N/A self contracts N/A N/A contract name contract N/A extract_contracts N/A N/A self method N/A N/A N/A contracts N/A N/A line N/A N/A N/A method __doc__ split N/A N/A line N/A N/A line strip N/A N/A N/A line startswith @ N/A N/A N/A name args N/A N/A N/A N/A re match @(\w+)\s*(.*) line groups N/A args N/A N/A re split \s+ args N/A N/A N/A contracts append N/A N/A N/A self contracts N/A name method args N/A contracts N/A from_method N/A N/A self method results N/A N/A N/A contracts N/A N/A self extract_contracts method N/A contracts N/A N/A N/A args kwargs N/A get_spec N/A Request __init__ N/A N/A kwargs N/A callback method N/A contract contracts N/A N/A kwargs N/A N/A contract adjust_request_args kwargs N/A N/A N/A args remove self N/A N/A N/A N/A set args issubset N/A set kwargs N/A N/A request N/A Request kwargs N/A contract N/A reversed contracts N/A N/A request N/A N/A contract add_pre_hook request results N/A contract contracts N/A N/A request N/A N/A contract add_post_hook request results N/A N/A N/A self _clean_req request method results N/A request N/A _clean_req N/A N/A self request method results N/A N/A N/A  stop the request from returning objects and records any errors  N/A cb N/A request callback cb_wrapper N/A N/A response N/A N/A N/A N/A N/A output N/A cb response N/A output N/A list N/A iterate_spider_output output N/A N/A N/A N/A case N/A _create_testcase method callback N/A N/A N/A results addError case N/A N/A sys exc_info N/A N/A wraps cb eb_wrapper N/A N/A failure N/A N/A N/A case N/A _create_testcase method errback N/A exc_info N/A N/A failure value N/A failure type N/A N/A failure getTracebackObject N/A N/A N/A results addError case exc_info N/A N/A N/A request callback cb_wrapper N/A N/A request errback eb_wrapper N/A N/A Contract N/A object N/A N/A  Abstract class for contracts  __init__ N/A N/A self method N/A args N/A N/A N/A self testcase_pre N/A _create_testcase method N/A @%s pre-hook N/A self name N/A N/A self testcase_post N/A _create_testcase method N/A @%s post-hook N/A self name N/A N/A self args args N/A add_pre_hook N/A N/A self request results N/A N/A N/A N/A hasattr self pre_process N/A N/A cb N/A request callback wrapper N/A N/A response N/A N/A N/A N/A N/A N/A N/A N/A N/A results startTest N/A self testcase_pre N/A N/A N/A self pre_process response N/A N/A N/A results stopTest N/A self testcase_pre N/A N/A N/A AssertionError N/A N/A N/A N/A results addFailure N/A self testcase_pre N/A N/A sys exc_info N/A N/A Exception N/A N/A N/A N/A results addError N/A self testcase_pre N/A N/A sys exc_info N/A N/A N/A N/A results addSuccess N/A self testcase_pre N/A N/A N/A list N/A iterate_spider_output N/A cb response N/A N/A wraps cb N/A N/A request callback wrapper N/A request N/A add_post_hook N/A N/A self request results N/A N/A N/A N/A hasattr self post_process N/A N/A cb N/A request callback wrapper N/A N/A response N/A N/A N/A output N/A list N/A iterate_spider_output N/A cb response N/A N/A N/A N/A N/A N/A N/A results startTest N/A self testcase_post N/A N/A N/A self post_process output N/A N/A N/A results stopTest N/A self testcase_post N/A N/A N/A AssertionError N/A N/A N/A N/A results addFailure N/A self testcase_post N/A N/A sys exc_info N/A N/A Exception N/A N/A N/A N/A results addError N/A self testcase_post N/A N/A sys exc_info N/A N/A N/A N/A results addSuccess N/A self testcase_post N/A N/A output N/A N/A wraps cb N/A N/A request callback wrapper N/A request N/A adjust_request_args N/A N/A self args N/A N/A N/A args N/A N/A _create_testcase N/A N/A method desc N/A N/A N/A spider N/A N/A method __self__ name ContractTestCase N/A TestCase N/A __str__ N/A N/A _self N/A N/A N/A N/A [%s] %s (%s) N/A spider N/A method __name__ desc N/A N/A N/A name N/A %s_%s N/A spider N/A method __name__ N/A N/A setattr ContractTestCase name N/A N/A N/A x N/A x N/A N/A ContractTestCase name N/A