Go to file
2017-04-28 07:13:14 +00:00
.gitattributes Accepting request 339049 from devel:languages:python 2015-11-18 21:34:06 +00:00
.gitignore Accepting request 339049 from devel:languages:python 2015-11-18 21:34:06 +00:00
LICENSE Accepting request 339049 from devel:languages:python 2015-11-18 21:34:06 +00:00
python-testpath.changes Accepting request 490873 from devel:languages:python 2017-04-28 07:13:14 +00:00
python-testpath.spec Accepting request 490873 from devel:languages:python 2017-04-28 07:13:14 +00:00
README.rst Accepting request 490873 from devel:languages:python 2017-04-28 07:13:14 +00:00
testpath-0.3-py2.py3-none-any.whl Accepting request 490873 from devel:languages:python 2017-04-28 07:13:14 +00:00

Testpath is a collection of utilities for Python code working with files and commands.

It contains functions to check things on the filesystem, and tools for mocking
system commands and recording calls to those.

`Documentation on ReadTheDocs <http://testpath.readthedocs.org/en/latest/>`_

e.g.::

    import testpath
    testpath.assert_isfile(path)
    
    with testpath.assert_calls('git', ['add', path]):
        function_under_test()