From 4b214a604949897a9a496f8a3b0fb82b9f2002fe Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Wed, 14 Apr 2021 11:06:35 +0200 Subject: [PATCH] Add tmp_path_factory methods to the docs (#8550) * Add tmp_path_factory methods to the docs Add the methods of tmp_path_factory to the docs. Currently, only the class description appears in the docs. * Add tmpdir_factory methods to the docs --- doc/en/reference/reference.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/en/reference/reference.rst b/doc/en/reference/reference.rst index ce0c4efa5..d4256bd60 100644 --- a/doc/en/reference/reference.rst +++ b/doc/en/reference/reference.rst @@ -594,6 +594,7 @@ tmp_path_factory ``tmp_path_factory`` is an instance of :class:`~pytest.TempPathFactory`: .. autoclass:: pytest.TempPathFactory() + :members: .. fixture:: tmpdir @@ -617,6 +618,7 @@ tmpdir_factory ``tmp_path_factory`` is an instance of :class:`~pytest.TempdirFactory`: .. autoclass:: pytest.TempdirFactory() + :members: .. _`hook-reference`: