google.appengine.runtime.context.ctx_test_util.both_context_modes

Adds subtests which test the non-default context mode.

This decorator also calls isolated_context for you. Using this as a class decorator will only wrap the functions declared directly on that class, not on functions inherited from parent classes.

*args See _isolated_context_class and _isolated_context_callable
**kwargs See _isolated_context_class and _isolated_context_callable

The raw function decorator.