From dee4051e82b50c9b4e1a7bef0de4e6bfd77c5453 Mon Sep 17 00:00:00 2001 From: Derek Knapp Date: Sat, 10 Feb 2024 18:57:20 -0800 Subject: [PATCH] Update test_transaction_integration.py Co-authored-by: Ilya Priven --- tests/integration/test_transaction_integration.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/integration/test_transaction_integration.py b/tests/integration/test_transaction_integration.py index 15651dfc..e247fd85 100644 --- a/tests/integration/test_transaction_integration.py +++ b/tests/integration/test_transaction_integration.py @@ -183,8 +183,6 @@ def test_transact_write__error__transaction_cancelled__condition_check_failure__ assert exc_info.value.cancellation_reasons == [ CancellationReason(code='ConditionalCheckFailed', message='The conditional request failed', raw_item=User(1).to_dynamodb_dict()), ] - assert isinstance(exc_info.value.cause, botocore.exceptions.ClientError) - assert User.Meta.table_name in exc_info.value.cause.MSG_TEMPLATE @pytest.mark.ddblocal