summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-doc/test.yml
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2020-05-04 21:15:16 +0200
committerToshio Kuratomi <a.badger@gmail.com>2020-05-05 18:06:52 +0200
commit049800c06376ee8d10366297f2ec82ccf7f8f932 (patch)
tree45c5659e46123a7d612bb3414895f007d188567f /test/integration/targets/ansible-doc/test.yml
parentAddressed FIXME's in hurd.py (Extracted functionality and exit early) (#69226) (diff)
downloadansible-049800c06376ee8d10366297f2ec82ccf7f8f932.tar.xz
ansible-049800c06376ee8d10366297f2ec82ccf7f8f932.zip
Fix metadata defaults
* Metadata defaults were not being set if only a few fields were missing. * ansible-doc with no documentation and no status in metadata should return empty, just like if there was no documentation and no metadata at all.
Diffstat (limited to 'test/integration/targets/ansible-doc/test.yml')
-rw-r--r--test/integration/targets/ansible-doc/test.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/ansible-doc/test.yml b/test/integration/targets/ansible-doc/test.yml
index a6944c4462..1781caad46 100644
--- a/test/integration/targets/ansible-doc/test.yml
+++ b/test/integration/targets/ansible-doc/test.yml
@@ -85,8 +85,8 @@
register: result
- assert:
that:
- - 'result is failed'
- - '"ERROR! module test_no_docs_no_status missing documentation (or could not parse documentation): test_no_docs_no_status did not contain a DOCUMENTATION attribute" in result.stderr'
+ - 'result.stdout == ""'
+ - 'result.stderr == ""'
- name: module with no documentation and non-iterable status in metadata
command: ansible-doc test_no_docs_non_iterable_status