diff --git a/terminatorlib/cwd.py b/terminatorlib/cwd.py index 703a7732..1edb6fb9 100755 --- a/terminatorlib/cwd.py +++ b/terminatorlib/cwd.py @@ -1,7 +1,16 @@ #!/usr/bin/python # Terminator by Chris Jones # GPL v2 only -"""cwd.py - function necessary to get the cwd for a given pid on various OSes""" +"""cwd.py - function necessary to get the cwd for a given pid on various OSes + +>>> cwd = get_default_cwd() +>>> cwd.__class__.__name__ +'str' +>>> func = get_pid_cwd() +>>> func.__class__.__name__ +'function' + +""" import platform import os diff --git a/terminatorlib/tests/test_doctests.py b/terminatorlib/tests/test_doctests.py index 0fb46d30..2d86b1f5 100644 --- a/terminatorlib/tests/test_doctests.py +++ b/terminatorlib/tests/test_doctests.py @@ -8,6 +8,7 @@ def test_suite(): 'config', 'plugin', 'testborg', + 'cwd', ): suite.addTest(DocTestSuite('terminatorlib.' + name)) return suite