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/plugins
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
..
action Templar: encapsulate _available_variables (#55435) 6 years ago
cache Improve testing of FactCache (#55739) 6 years ago
callback
cliconf Fix ios test for python2 non-ascii paths 5 years ago
connection Fix netconf guess_network_os to use ssh_config if supplied. (#55199) 5 years ago
filter Correct places where match was intended 5 years ago
httpapi Add latest updates from FTD Ansible downstream repository. (#53638) 6 years ago
inventory add IAM role assumption to aws_ec2 inventory (#41637) 6 years ago
loader_fixtures
lookup Skip tests with unsatisfied deps (#55853) 5 years ago
shell Add support for Windows hosts in the SSH connection plugin (#47732) 6 years ago
strategy
terminal
vars
__init__.py
test_plugins.py