Skip to content

v8.2.0

Choose a tag to compare

@UnDarkle UnDarkle released this 18 Mar 15:42
· 28 commits to master since this release
bfb31d6

Enabled starting and stopping monitors manually with designated blocks:

from rotest.core.utils.useful_blocks import StartMonitorBlock, StopMonitorBlock
...
blocks = [
StartMonitorBlock.params(monitor_name='my_monitor'), # Supply monitor name
StartMonitorBlock.params(monitor_class=MyMonitorClass), # Alternatively supply class
StopMonitorBlock, # Optional, otherwise monitors die when the main flow ends
]