Module Import alias Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Num Dict Str Str Num Str Str ListLoad Str ListLoad Dict Str Str Num Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Assign NameStore Call AttributeLoad Str attr ListComp NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A httplib N/A json N/A unittest swagger Swagger SwaggerTestCast N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self client N/A N/A Swagger load ../schemas/petstore.json N/A N/A self data N/A id category name photoUrls tags status 0 N/A id name 0 string doggie N/A string N/A N/A id name 0 string available N/A pet N/A N/A self N/A N/A N/A data N/A N/A json dumps N/A self data N/A res N/A N/A N/A self client post /pet body data auth special-key N/A N/A N/A res json N/A property test_swagger_version N/A N/A self N/A N/A N/A Assert Swagger version is '2.0' N/A N/A N/A self assertEqual N/A N/A self client Version 2.0 N/A test_set_headers N/A N/A self N/A N/A N/A N/A test_swagger_default_scheme N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self client DefaultScheme http N/A test_create_pet_endpoint N/A N/A self N/A N/A N/A data N/A N/A json dumps N/A self data N/A expected_url http://petstore.swagger.io/v2/pet N/A res N/A N/A N/A self client post /pet body data auth special-key N/A N/A N/A self assertEqual N/A res url expected_url N/A N/A N/A self assertTrue N/A isinstance N/A N/A res json dict N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A test_get_pet_by_id_endpoint N/A N/A self N/A N/A N/A petId N/A N/A self pet N/A id N/A res N/A N/A N/A self client get /pet/{petId} petId petId N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A test_find_pets_by_status_endpoint N/A N/A self N/A N/A N/A statuses N/A available pending sold N/A status statuses N/A N/A res N/A N/A N/A self client get /pet/findByStatus status status N/A expected_url N/A N/A http://petstore.swagger.io/v2/pet/findByStatus?status={} format status N/A N/A N/A self assertEqual N/A res url expected_url N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A N/A N/A self assertTrue N/A isinstance N/A N/A res json list N/A test_find_pets_by_tags_endpoint N/A N/A self N/A N/A N/A tags N/A tag1 tag2 tag3 N/A tags N/A N/A ,  join N/A tag N/A tag tags N/A res N/A N/A N/A self client get /pet/findByTags tags tags N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A N/A N/A self assertTrue N/A isinstance N/A N/A res json list N/A test_find_pet_by_id_endpoint N/A N/A self N/A N/A N/A petId N/A N/A self pet N/A id N/A res N/A N/A N/A self client get /pet/{petId} petId petId N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A N/A N/A self assertTrue N/A isinstance N/A N/A res json dict N/A test_pet_update_endpoint N/A N/A self N/A N/A N/A petId N/A N/A self pet N/A id N/A res N/A N/A N/A self client post /pet/{petId} petId petId name foo status bar format application/x-www-form-urlencoded N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A test_delete_pet_endpoint N/A N/A self N/A N/A N/A petId N/A N/A self pet N/A id N/A res N/A N/A N/A self client delete /pet/{petId} petId petId auth special-key N/A N/A N/A self assertEqual N/A res status_code N/A httplib OK N/A N/A