Customizing with Lifecycle Hooks
Background
Lifecycle HooksWriting a Lifecycle Hooks Script
from stoobly_agent.app.proxy.mock.context import MockContext
def handle_before_mock(context: MockContext):
print('Before mock!')
def handle_after_mock(context: MockContext):
print('After mock!')Enabling Lifecycle Hook Script Use
Example
Last updated