test interface — VMware Salt API
test interface
The LoadedMod class allows for the module loaded onto the sub to return custom sequencing, for instance it can be iterated over to return all functions
echo(message: <class 'str'>)
Returns: <class 'str'>
Echo the message.
Parameters
| message: | The message to echo. |
|---|
error()
Returns: <class 'bool'>
Test how an error is returned under the RPC Api. Simply raises a generic exception.
sleep(seconds: int | float)
Returns: <class 'str'>
Sleep for the amount of time provided.
Parameters
| seconds: | Number of seconds to sleep. Float values permitted. |
|---|
warnings()
Returns: <class 'bool'>
Test how a warning is returned under the RPC Api.