Module Import alias Import alias Import alias ImportFrom alias Import alias identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args defaults body Expr Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str
N/A N/A os N/A pytest N/A responses click.testing CliRunner N/A pypi_cli pypi N/A HERE N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ mock_api N/A N/A N/A N/A N/A A mock for the PyPI JSON API. N/A N/A open N/A N/A N/A os path join HERE response.json r fp N/A N/A webargs_response N/A N/A fp read N/A N/A N/A responses add N/A responses GET https://pypi.python.org/pypi/webargs/json body webargs_response content_type application/json N/A N/A open N/A N/A N/A os path join HERE response_noreleases.json r fp N/A N/A foo_response N/A N/A fp read N/A N/A N/A responses add N/A responses GET https://pypi.python.org/pypi/foo/json body foo_response content_type application/json N/A N/A N/A responses add N/A responses GET https://pypi.python.org/pypi/nope/json status 404 N/A N/A N/A responses start N/A N/A responses N/A N/A N/A responses stop N/A N/A pytest yield_fixture package N/A N/A N/A N/A N/A N/A N/A pypi Package webargs N/A N/A pytest fixture runner N/A N/A mock_api N/A N/A N/A N/A CliRunner N/A N/A N/A pytest fixture scope function