Skip to content

Commit

Permalink
Update test_transaction_integration.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Priven <ilya.konstantinov@gmail.com>
  • Loading branch information
knap1930 and ikonst authored Feb 11, 2024
1 parent 0a423dc commit dee4051
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/integration/test_transaction_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dee4051

Please sign in to comment.