moto/tests
Brian Pandola 93b393c679
Fix: Python 2/3 Incompatibility (#3488)
Previous code would raise `TypeError: 'dict_keys' object is not subscriptable`
when run under Python 3.

* Re-write code in Python 2/3 compatible way.
* Add clarifying comment.
* Add test coverage.

Supersedes #3227
2020-11-21 13:36:33 +00:00
..
test_acm Linting 2020-11-11 15:55:37 +00:00
test_apigateway Linting 2020-11-11 15:55:37 +00:00
test_applicationautoscaling Linting 2020-11-11 15:55:37 +00:00
test_athena Linting 2020-11-11 15:55:37 +00:00
test_autoscaling Linting 2020-11-11 15:55:37 +00:00
test_awslambda fixed issue in update_configuration for lambda when setting VPC config property (#3479) 2020-11-18 08:45:31 +00:00
test_batch Fix Race Condition in batch:SubmitJob (#3480) 2020-11-18 10:49:25 +00:00
test_cloudformation Linting 2020-11-11 15:55:37 +00:00
test_cloudwatch Fix:CloudWatch List metrics with dimensions (#3461) 2020-11-20 12:38:48 +00:00
test_codecommit Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_codepipeline Linting 2020-11-11 15:55:37 +00:00
test_cognitoidentity Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_cognitoidp Fix: Python 2/3 Incompatibility (#3488) 2020-11-21 13:36:33 +00:00
test_config Linting 2020-11-11 15:55:37 +00:00
test_core Linting 2020-11-11 15:55:37 +00:00
test_datapipeline Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_datasync Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_dynamodb Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_dynamodb2 Add support for empty strings in non-key dynamo attributes (#3467) 2020-11-17 09:12:39 +00:00
test_dynamodbstreams Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_ec2 Implement IAM instance profile associations (#3482) 2020-11-20 22:00:53 +00:00
test_ec2instanceconnect Improve implementation coverage (and layout) 2020-05-12 14:58:35 +01:00
test_ecr Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_ecs Linting 2020-11-11 15:55:37 +00:00
test_elasticbeanstalk Linting 2020-11-11 15:55:37 +00:00
test_elb Back to Black 2020-11-10 14:12:38 +01:00
test_elbv2 Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_emr Added support for EMR Security Configurations and Kerberos Attributes. (#3456) 2020-11-17 10:54:34 +00:00
test_events EventBridge: put_rule and list_rules should store and retrieve EventBusName property (#3472) 2020-11-17 15:36:17 +00:00
test_forecast Linting 2020-11-11 15:55:37 +00:00
test_glacier Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_glue Back to Black 2020-11-10 14:12:38 +01:00
test_iam Merge pull request #3451 from bpandola/fix-3450 2020-11-15 11:25:10 -06:00
test_iot Linting 2020-11-11 15:55:37 +00:00
test_iotdata Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_kinesis Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_kinesisvideo Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_kinesisvideoarchivedmedia Linting 2020-11-11 15:55:37 +00:00
test_kms Linting 2020-11-11 15:55:37 +00:00
test_logs Linting 2020-11-11 15:55:37 +00:00
test_managedblockchain Linting 2020-11-11 15:55:37 +00:00
test_opsworks Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_organizations Linting 2020-11-11 15:55:37 +00:00
test_packages Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_polly Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_ram Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_rds Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_rds2 Fix: TagList missing in rds:DescribeDBInstance response (#3459) 2020-11-16 09:30:53 +00:00
test_redshift Fix: redshift:EnableSnapshotCopy raises incorrect Exception (#3485) 2020-11-21 10:35:46 +00:00
test_resourcegroups Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_resourcegroupstaggingapi Add ec2.vpc resource support to Tagging API (#3375) 2020-10-10 19:05:21 +01:00
test_route53 Route53: Implement dummy GetChange endpoint (#3486) 2020-11-20 07:21:05 +00:00
test_s3 Linting 2020-11-11 15:55:37 +00:00
test_s3bucket_path Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_sagemaker Back to Black 2020-11-10 14:12:38 +01:00
test_secretsmanager Linting 2020-11-11 15:55:37 +00:00
test_ses Linting 2020-11-11 15:55:37 +00:00
test_sns Linting 2020-11-11 15:55:37 +00:00
test_sqs Linting 2020-11-11 15:55:37 +00:00
test_ssm Linting 2020-11-11 15:55:37 +00:00
test_stepfunctions Linting 2020-11-11 15:55:37 +00:00
test_sts Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_swf Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_transcribe Linting 2020-11-11 15:55:37 +00:00
test_utilities Use TaggingService for S3 Objects 2020-03-31 12:04:04 +01:00
test_xray Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
__init__.py Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
helpers.py Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00