Skip to content

Commit 4b644ae

Browse files
authored
docs: fix sphinx warnings in uthelper guide (#10864)
1 parent e9b1788 commit 4b644ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/docsite/rst/guide_uthelper.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ RunCommandMock Specification
276276
Creates an ``UTHelper`` instance from a given test specification.
277277

278278
:param ansible_module: The Ansible module to be tested.
279-
:type ansible_module: module
279+
:type ansible_module: :py:class:`types.ModuleType`
280280
:param test_module: The test module.
281-
:type test_module: module
281+
:type test_module: :py:class:`types.ModuleType`
282282
:param test_spec: The test specification.
283283
:type test_spec: dict
284284
:param mocks: List of ``TestCaseMocks`` to be used during testing. Currently only ``RunCommandMock`` exists.
@@ -308,11 +308,11 @@ RunCommandMock Specification
308308
Creates an ``UTHelper`` instance from a test specification file.
309309

310310
:param ansible_module: The Ansible module to be tested.
311-
:type ansible_module: module
311+
:type ansible_module: :py:class:`types.ModuleType`
312312
:param test_module: The test module.
313-
:type test_module: module
313+
:type test_module: :py:class:`types.ModuleType`
314314
:param test_spec_filehandle: A file handle to an file stream handle providing the test specification in YAML format.
315-
:type test_spec_filehandle: file
315+
:type test_spec_filehandle: ``file-like object``
316316
:param mocks: List of ``TestCaseMocks`` to be used during testing. Currently only ``RunCommandMock`` exists.
317317
:type mocks: list or None
318318
:return: An ``UTHelper`` instance.
@@ -335,7 +335,7 @@ RunCommandMock Specification
335335
Creates an ``UTHelper`` instance from a given Ansible module and test module.
336336

337337
:param ansible_module: The Ansible module to be tested.
338-
:type ansible_module: module
338+
:type ansible_module: :py:class:`types.ModuleType`
339339
:param test_module_name: The name of the test module. It works if passed ``__name__``.
340340
:type test_module_name: str
341341
:param mocks: List of ``TestCaseMocks`` to be used during testing. Currently only ``RunCommandMock`` exists.

0 commit comments

Comments
 (0)