(self, session)
| 136 | |
| 137 | @placebo_session |
| 138 | def test_create_lambda_function_docker(self, session): |
| 139 | bucket_name = "lmbda" |
| 140 | docker_image_uri = "docker_image_uri" |
| 141 | |
| 142 | z = Zappa(session) |
| 143 | z.aws_region = "us-east-1" |
| 144 | z.load_credentials(session) |
| 145 | z.credentials_arn = "arn:aws:iam::12345:role/ZappaLambdaExecution" |
| 146 | |
| 147 | arn = z.create_lambda_function( |
| 148 | bucket=bucket_name, |
| 149 | docker_image_uri=docker_image_uri, |
| 150 | function_name="test_lmbda_function55", |
| 151 | ) |
| 152 | |
| 153 | arn = z.update_lambda_function( |
| 154 | bucket=bucket_name, |
| 155 | docker_image_uri=docker_image_uri, |
| 156 | function_name="test_lmbda_function55", |
| 157 | ) |
| 158 | |
| 159 | @placebo_session |
| 160 | def test_rollback_lambda_function_version(self, session): |
nothing calls this directly
no test coverage detected