(self, session)
| 113 | |
| 114 | @placebo_session |
| 115 | def test_create_lambda_function_local(self, session): |
| 116 | bucket_name = "lmbda" |
| 117 | local_file = "Spheres-dev-1454694878.zip" |
| 118 | |
| 119 | z = Zappa(session) |
| 120 | z.aws_region = "us-east-1" |
| 121 | z.load_credentials(session) |
| 122 | z.credentials_arn = "arn:aws:iam::12345:role/ZappaLambdaExecution" |
| 123 | |
| 124 | arn = z.create_lambda_function( |
| 125 | bucket=bucket_name, |
| 126 | local_zip=local_file, |
| 127 | function_name="test_lmbda_function55", |
| 128 | handler="runme.lambda_handler", |
| 129 | ) |
| 130 | |
| 131 | arn = z.update_lambda_function( |
| 132 | bucket=bucket_name, |
| 133 | local_zip=local_file, |
| 134 | function_name="test_lmbda_function55", |
| 135 | ) |
| 136 | |
| 137 | @placebo_session |
| 138 | def test_create_lambda_function_docker(self, session): |
nothing calls this directly
no test coverage detected