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
Matt Martz 95e77ac853
Ensure that the src file contents is converted to unicode in diff info (#45744)
* Ensure that the src file contents is converted to unicode in diff info. Fixes #45717

* Fix up and cleanup

* The diff functionality in the callback plugins should have the
  to_text() calls removed since we're now doing it in ActionBase
* catching of UnicodeError and warnings in the callback diff
  functionality from 61d01f549f haven't been
  needed since we switched to to_text so remove them.
* Add a note to ActionBase's diff function giving an example of when the
  diff function will be inaccurate and how to fix it

* Fix callback get_diff() tests

I believe the unittests of callback's get_diff() were wrong.  They were
sending in a list where strings were expected.  Because previous code
was transforming the lists into strings via their repr, the previous
tests did not fail but they would have formatted the test cases output
in an odd way if we had looked at it.
6 years ago
..
action Fix remote_tmp when become with non admin user (#42396) 6 years ago
cache Disable abstract-class-instantiated for smoketests 7 years ago
callback Ensure that the src file contents is converted to unicode in diff info (#45744) 6 years ago
cliconf Fix cli_command multiple prompt issue (#44922) 6 years ago
connection Move persistent connections to only use registered variables (#45616) 6 years ago
filter Skip ipaddr test that fails on Python 3.7+. 6 years ago
httpapi Store Authorization header inside HttpApi connection plugin (#45598) 6 years ago
inventory Fix inventory plugin cache + add tests (#38229) 7 years ago
loader_fixtures Don't cache duplicate plugin names (#34420) 7 years ago
lookup Add ability to unlock 1Password vault to lookup plugins (#44923) 6 years ago
shell Add empty-init code-smell script. (#18406) 8 years ago
strategy New keyword: ignore_unreachable (#43857) 6 years ago
terminal Adding slx_command module and supporting module_utils. (#38235) 7 years ago
vars Add empty-init code-smell script. (#18406) 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_plugins.py Don't cache duplicate plugin names (#34420) 7 years ago