From 02961d25829ca172215f07da674c8c3f11a0fa6c Mon Sep 17 00:00:00 2001 From: Jonathan Lim Date: Tue, 11 Feb 2025 11:26:33 -0500 Subject: [PATCH] update tests and remove old comments --- .../test_timestreaminfluxdb.py | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py b/tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py index d2fc77240c5e..a32ba13eab4b 100644 --- a/tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py +++ b/tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py @@ -44,35 +44,9 @@ def test_create_db_instance_success(): assert "publiclyAccessible" in response assert "secondaryAvailabilityZone" in response assert "status" in response - assert "vpcSecurityGroupIds" in response - assert "vpcSubnetIds" in response assert "logDeliveryConfiguration" in response -## Example output from boto3 -""" -client.list_db_instances() -{ - 'items': [ - { - 'id': '2acznutudh', - 'name': 'sbx-lebiwh-test1', - 'arn': 'arn:aws:timestream-influxdb:us-east-1:851925785310:db-instance/2acznutudh', - 'status': 'AVAILABLE', - 'endpoint': '2acznutudh-yqw2rtw2r2imck.timestream-influxdb.us-east-1.on.aws', - 'port': 8086, - 'networkType': 'IPV4', - 'dbInstanceType': 'db.influx.medium', - 'dbStorageType': 'InfluxIOIncludedT1', - 'allocatedStorage': 20, - 'deploymentType': 'SINGLE_AZ' - } - ], - 'ResponseMetadata': { ... } -} -""" - - @mock_aws def test_create_db_instance_duplicate_identifier(): client = boto3.client("timestream-influxdb", region_name="us-east-1") @@ -154,8 +128,6 @@ def test_delete_db_instance(): assert "port" in response assert "publiclyAccessible" in response assert "secondaryAvailabilityZone" in response - assert "vpcSecurityGroupIds" in response - assert "vpcSubnetIds" in response assert "logDeliveryConfiguration" in response assert response["status"] == "DELETING" @@ -204,8 +176,6 @@ def test_get_db_instance(): assert "port" in response assert "publiclyAccessible" in response assert "secondaryAvailabilityZone" in response - assert "vpcSecurityGroupIds" in response - assert "vpcSubnetIds" in response assert "logDeliveryConfiguration" in response assert "status" in response