eladkal commented on code in PR #32259:
URL: https://github.com/apache/airflow/pull/32259#discussion_r1249471688
##########
tests/providers/amazon/aws/operators/test_lambda_function.py:
##########
@@ -106,12 +114,14 @@ def test_invoke_lambda(self, hook_mock):
value = operator.execute(None)
assert value == "data was read"
+
+ invoke_payload = payload.encode() if isinstance(payload, str) else
payload
Review Comment:
This doesn't feel right?
There shouldn't be added logic in the test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]