Module Contents

class weaver.processes.wps_testing.WpsTestProcess(inputs: Optional[List[weaver.processes.wps_package.ANY_IO_Type]] = None, outputs: Optional[List[weaver.processes.wps_package.ANY_IO_Type]] = None, **kw: str)[source]

Test WPS process definition that simply returns its input string as output.

Initialize the test process with minimal definition requirements.

If no inputs/outputs are provided, a default literal string is applied for both. Otherwise, test_input and test_output of the desired type and format should be explicitly provided to allow successful execution. Other I/O can be specified, but they will be ignored.

_handler(request, response)[source]