test
command invokes an automation locally. A mock event payload that corresponds to the event defined in the on
decorator is passed in to your automation’s entrypoint as an argument.
repo
or other modules expect, your automation will not have access to these during a test
invocation and will expectedly fail. Consequently, the test
command is mainly useful for smoke testing your Python implementation.