This commit is contained in:
Andrey Kislyuk 2020-01-24 16:11:44 +00:00 committed by Ubuntu
parent 5ba786d97a
commit 324ef5af36

View File

@ -148,7 +148,7 @@ def test_invoke_event_function():
FunctionName="testFunction", InvocationType="Event", Payload=json.dumps(in_data)
)
success_result["StatusCode"].should.equal(202)
json.loads(success_result["Payload"].read().decode("utf-8")).should.equal({})
json.loads(success_result["Payload"].read().decode("utf-8")).should.equal(in_data)
if settings.TEST_SERVER_MODE: