master
/ .localenv / lib / python3.5 / site-packages / testpath-0.3.1.dist-info / METADATA

METADATA @master raw · history · blame

Metadata-Version: 1.2
Name: testpath
Version: 0.3.1
Summary: Test utilities for code working with files and commands
Home-page: https://github.com/jupyter/testpath
License: UNKNOWN
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.com
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing

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 <https://testpath.readthedocs.io/en/latest/>`_

e.g.::

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