Module Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Str Str Str Str ListLoad NameLoad NameLoad ListLoad Str Assign NameStore Dict Str Dict Str NameLoad Return Dict Str Str Str Str Str Dict Str Str Str Str Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr
N/A N/A functools N/A json N/A httpretty N/A pytest N/A yaml N/A API_DOCS_URL http://localhost/api-docs N/A register_get N/A N/A functools partial N/A httpretty register_uri N/A httpretty GET register_spec N/A N/A swagger_dict response_spec spec_type N/A None json N/A N/A N/A response_spec None N/A N/A response_specs N/A N/A N/A N/A swagger_dict N/A paths N/A /test_http N/A get N/A responses N/A N/A N/A response_specs N/A 200 N/A schema response_spec N/A N/A spec_type yaml N/A N/A serialize_function N/A yaml dump N/A content_type application/yaml N/A N/A serialize_function N/A json dumps N/A content_type application/json N/A headers N/A N/A Content-Type: {0} format content_type N/A N/A register_get API_DOCS_URL body N/A serialize_function swagger_dict headers headers N/A swagger_dict N/A N/A N/A N/A N/A parameter N/A in name type query test_param string N/A responses N/A 200 N/A description Success N/A operation N/A operationId parameters responses tags testHTTP N/A parameter responses N/A api_test N/A paths N/A /test_http N/A get operation N/A N/A swagger info basePath paths 2.0 N/A version title 1.0.0 Simple / paths N/A N/A pytest fixture httprettified N/A N/A request N/A N/A N/A 
    pytest style fixture to activate/deactive httpretty so that you get the
    benefit of the @httpretty.activate decoratator without having to use it.

    Basically, this won't work:

        @httpretty.activate
        def test_foo(some_pytest_fixture):
            pass

    Use this instead:

        def test_foo(httprettified, some_pytest_fixture):
            # interactions with httpretty occur as if you'd decorated
            # this function with @httpretty.activate
            httpretty.register_uri(...)

    If you're passing multiple fixtures to the test that rely on httpretty
    being activated, make sure that `httprettified` is before all the other
    fixtures that depend on it.

    :param request: This is a pytest (confusingly named) param. Don't worry
        about it.
     N/A N/A N/A httpretty reset N/A N/A N/A httpretty enable fin N/A N/A N/A N/A N/A N/A N/A httpretty disable N/A N/A N/A N/A request addfinalizer fin N/A N/A pytest fixture