ansible/test/units/modules/cloud/amazon
Toshio Kuratomi 87601969a3 Correct places where match was intended
pytest.raises has two parameters, message and match.  message is meant
to be the error message that pytest gives when the tested code does not
raise the expected exception.  match is the string that pytest expects
to be a match for the repr of the exception.  Unfortunately, it seems
that message is often mistakenly used where match is meant.  Fix those
cases.

message is also deprecated so removed our usage of it.  Perhaps we
should write a sanity test later that prevents the use of
pytest.raises(message) to avoid this mistake.

seealso: https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises

Also update the exception message tested for as we're now properly
detecting that the messages have changed.
2019-07-18 17:10:58 -07:00
..
fixtures
placebo_recordings Added the OnFailure option to the AWS CloudFormation module (#52431) 2019-04-12 09:18:06 -07:00
__init__.py
test_aws_api_gateway.py Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
test_aws_direct_connect_connection.py
test_aws_direct_connect_link_aggregation_group.py
test_aws_s3.py
test_cloudformation.py Correct places where match was intended 2019-07-18 17:10:58 -07:00
test_data_pipeline.py Remove placeboify from unit tests that are not calling AWS (i.e. creating a recording) (#45754) 2018-09-17 18:17:43 -04:00
test_ec2_group.py To ipv6 network (#48572) 2019-03-27 11:20:27 -04:00
test_ec2_utils.py
test_ec2_vpc_nat_gateway.py Move module tests using TQM to integration tests. 2018-09-27 13:46:19 -07:00
test_ec2_vpc_vpn.py ec2_vpc_vpn: Add delay and wait_timeout parameter (#53940) 2019-03-18 11:05:51 -05:00
test_iam_password_policy.py Fix sanity test failure. 2018-10-22 17:35:47 -07:00
test_kinesis_stream.py Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
test_lambda.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_lambda_policy.py Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
test_redshift_cross_region_snapshots.py Adds redshift_cross_region_snapshots module (#35527) 2018-12-03 08:34:53 +00:00
test_route53_zone.py route53_zone: return existing zone id in check mode (#56702) 2019-05-24 16:28:55 +05:30
test_s3_bucket.py
test_s3_bucket_notification.py Add lambda_bucket_event module (#58059) 2019-07-18 10:54:01 -07:00