Skip to content

Commit

Permalink
Remove fairly invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
adammcdonagh authored Jan 17, 2024
1 parent 390c91d commit fe3c664
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/test_remotehandler_lambda_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,6 @@ def test_run_lambda_function_with_invalid_payload(lambda_client):

assert not execution_obj.run()

# Try the same, but using an async call to the function
lambda_execution_task_definition_invalid_payload["invocationType"] = "Event"
execution_obj = execution.Execution(
None, "call-lambda-function", lambda_execution_task_definition_invalid_payload
)

# This is expected to work, because there's no validation of the payload when invoked this way
assert execution_obj.run()


def test_lambda_execution_batch_timeout(tmpdir, lambda_client):
# Create the function, but dont invoke it, as it runs too long
Expand Down

0 comments on commit fe3c664

Please sign in to comment.