MCPcopy Index your code
hub / github.com/zappa/Zappa / test_invoke_lambda_function

Method test_invoke_lambda_function

tests/test_placebo.py:181–187  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

179
180 @placebo_session
181 def test_invoke_lambda_function(self, session):
182 z = Zappa(session)
183 z.credentials_arn = "arn:aws:iam::724336686645:role/ZappaLambdaExecution"
184
185 function_name = "django-helloworld-unicode"
186 payload = '{"event": "hello"}'
187 response = z.invoke_lambda_function(function_name, payload)
188
189 @placebo_session
190 def test_create_iam_roles(self, session):

Callers

nothing calls this directly

Calls 2

ZappaClass · 0.90

Tested by

no test coverage detected