Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/source/modules.rst
Original file line numberDiff line numberDiff line change
Expand Up@@ -145,6 +145,12 @@ Docker
:members:


Environment
~~~~~~~~~~~

.. autoclass:: testinfra.modules.environment.Environment(name)
:members:

File
~~~~

Expand Down
2 changes: 1 addition & 1 deletion testinfra/modules/environment.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,7 +18,7 @@ class Environment(InstanceModule):

Example:

>>> host.environment()
>>> host.environment()
{
"EDITOR": "vim",
"SHELL": "/bin/bash",
Expand Down