diff --git a/pytest_localstack/constants.py b/pytest_localstack/constants.py index 3a8f175..c5f981f 100644 --- a/pytest_localstack/constants.py +++ b/pytest_localstack/constants.py @@ -33,6 +33,7 @@ "firehose": 4573, "iam": 4593, "kinesis": 4568, + "kms": 4599, "lambda": 4574, "logs": 4586, "redshift": 4577, diff --git a/pytest_localstack/service_checks.py b/pytest_localstack/service_checks.py index 3eeacce..32becad 100644 --- a/pytest_localstack/service_checks.py +++ b/pytest_localstack/service_checks.py @@ -126,6 +126,9 @@ def _f(client_response): "kinesis": botocore_check_response_type( "kinesis", "list_streams", list, "StreamNames" ), + "kms": botocore_check_response_type( + "kms", "list_keys", list, "Keys" + ), "lambda": botocore_check_response_type( "lambda", "list_functions", list, "Functions" ),