Skip to content

Commit

Permalink
Do not assume that we know the number of debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
enzbang committed Apr 3, 2024
1 parent ff2f83d commit 201634e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/tests_e3_aws/dynamodb/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def test_batch_get_item_error(
# capture logs and ensure that are what we expect
messages.extend([x.message for x in caplog.get_records("call")]) # type: ignore

assert len(messages) == 2
assert (
"An error occurred (ResourceNotFoundException) when "
"calling the BatchGetItem operation: Requested resource not found" in messages
Expand Down

0 comments on commit 201634e

Please sign in to comment.