From 77ba025a1301c62dd945fd0f18153c5eef9a0b77 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 7 Sep 2022 09:49:23 -0400 Subject: document tests (#78685) Document the builtin test plugins Co-authored-by: Felix Fontein --- lib/ansible/plugins/test/files.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/ansible/plugins/test/files.py') diff --git a/lib/ansible/plugins/test/files.py b/lib/ansible/plugins/test/files.py index bb0dfd0134..35761a45f4 100644 --- a/lib/ansible/plugins/test/files.py +++ b/lib/ansible/plugins/test/files.py @@ -29,20 +29,20 @@ class TestModule(object): def tests(self): return { # file testing - 'is_dir': isdir, 'directory': isdir, - 'is_file': isfile, + 'is_dir': isdir, 'file': isfile, - 'is_link': islink, + 'is_file': isfile, 'link': islink, + 'is_link': islink, 'exists': exists, 'link_exists': lexists, # path testing - 'is_abs': isabs, 'abs': isabs, - 'is_same_file': samefile, + 'is_abs': isabs, 'same_file': samefile, - 'is_mount': ismount, + 'is_same_file': samefile, 'mount': ismount, + 'is_mount': ismount, } -- cgit v1.2.1