def METHOD_NAME():
    # temporarily unset the DDEV_TRACE_ENABLED flag to enable testing
    # the exhaustive tracing option
    ddev_trace_enabled = os.environ.pop('DDEV_TRACE_ENABLED', None)
    # the mock classes must be traced within a single test execution in order for
    # us to be able to control the parameters used by the traced_class wrapper
    # The regular AgentCheck common base class applies traced_class but here
    # in the test to keep things simple we trace both base and child classes directly
    global MockAgentCheck, DummyCheck
    orig_mock_agent, orig_dummy = MockAgentCheck, DummyCheck
    MockAgentCheck, DummyCheck = traced_class(MockAgentCheck), traced_class(DummyCheck)
    yield
    MockAgentCheck, DummyCheck = orig_mock_agent, orig_dummy
    if ddev_trace_enabled:
        os.environ['DDEV_TRACE_ENABLED'] = ddev_trace_enabled