on_viceroy
on_viceroy(method) -> classmethodDecorator for making a method run on the testrunner's Viceroy server
Decorate a method with this, and it will automagically run under Viceroy when called. The method must be in a subclass of AutoViceroyTestBase.
- Return values and raised exceptions must be pickleable.
- If the decorated method is not already a class method, we make it one, in service to conciseness.
Parameters
- method: Any
Returns
classmethod