diff --git a/mandarin_twitter_bot/tests/test_aws_client.py b/mandarin_twitter_bot/tests/test_aws_client.py index 6e7fd2b..74865f0 100644 --- a/mandarin_twitter_bot/tests/test_aws_client.py +++ b/mandarin_twitter_bot/tests/test_aws_client.py @@ -165,9 +165,6 @@ def test_batch_put_items_performs_update(self): batch_put_items(table, items) - dynamodb = boto3.resource(AWSResource.DYNAMO_DB) - unprocessed_words = dynamodb.Table(table.value.name) - self.assertEqual(unprocessed_words.item_count, len(items)) found_items = [] for i in range(len(items)): found_items.append(get_and_delete_unprocessed_word()) @@ -366,9 +363,6 @@ def test_put_item_performs_update(self): self.assertEqual( response["ResponseMetadata"]["HTTPStatusCode"], HTTPStatus.OK) - dynamodb = boto3.resource(AWSResource.DYNAMO_DB) - unprocessed_words = dynamodb.Table(table.value.name) - self.assertEqual(unprocessed_words.item_count, len(items)) found_items = [] for i in range(len(items)): found_items.append(get_and_delete_unprocessed_word())