Fix tests for py3.
This commit is contained in:
parent
0dda687762
commit
3c0c4c2996
10 changed files with 16 additions and 20 deletions
|
|
@ -57,7 +57,7 @@ class LambdaResponse(BaseResponse):
|
|||
|
||||
def _create_function(self, request, full_url, headers):
|
||||
lambda_backend = self.get_lambda_backend(full_url)
|
||||
spec = json.loads(self.body.decode('utf-8'))
|
||||
spec = json.loads(self.body)
|
||||
try:
|
||||
fn = lambda_backend.create_function(spec)
|
||||
except ValueError as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue