You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
5 years ago
..
fixtures [cloud][tests] AWS lambda module unit tests (#21768) 8 years ago
placebo_recordings Added the OnFailure option to the AWS CloudFormation module (#52431) 6 years ago
__init__.py
test_aws_api_gateway.py Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
test_aws_direct_connect_connection.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_aws_direct_connect_link_aggregation_group.py Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 7 years ago
test_aws_s3.py Rename AWS unit tests that are not running when changing the module (#42712) 6 years ago
test_cloudformation.py Correct places where match was intended 5 years ago
test_data_pipeline.py Remove placeboify from unit tests that are not calling AWS (i.e. creating a recording) (#45754) 6 years ago
test_ec2_group.py To ipv6 network (#48572) 6 years ago
test_ec2_utils.py fixed type mapper and added tests (#20963) 8 years ago
test_ec2_vpc_nat_gateway.py Move module tests using TQM to integration tests. 6 years ago
test_ec2_vpc_vpn.py ec2_vpc_vpn: Add delay and wait_timeout parameter (#53940) 6 years ago
test_iam_password_policy.py Fix sanity test failure. 6 years ago
test_kinesis_stream.py Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
test_lambda.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_lambda_policy.py Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
test_redshift_cross_region_snapshots.py Adds `redshift_cross_region_snapshots` module (#35527) 6 years ago
test_route53_zone.py route53_zone: return existing zone id in check mode (#56702) 6 years ago
test_s3_bucket.py s3_bucket: fix python3 sorting incompatibility (#27502) 7 years ago
test_s3_bucket_notification.py Add lambda_bucket_event module (#58059) 5 years ago