Adds subtests which test the non-default context mode.
google.appengine.runtime.context.ctx_test_util.both_context_modes(
*args, **kwargs
)
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 |
*args
|
See _isolated_context_class and _isolated_context_callable
|
**kwargs
|
See _isolated_context_class and _isolated_context_callable
|
Returns |
The raw function decorator.
|