greengrasssdk.utils.testing module

greengrasssdk.utils.testing.mock(func)[source]

mock decorates _invoke_internal by checking if MY_FUNCTION_ARN is present if MY_FUNCTION_ARN is present, the actual _invoke_internal is invoked otherwise, the mock _invoke_internal is invoked