Metadata-Version: 2.4
Name: testpath
Version: 0.6.0
Summary: Test utilities for code working with files and commands
Author-email: Jupyter Development Team <jupyter@googlegroups.com>
Requires-Python: >= 3.5
Description-Content-Type: text/x-rst
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
License-File: LICENSE
Requires-Dist: pytest ; extra == "test"
Project-URL: Documentation, https://testpath.readthedocs.io/en/latest/
Project-URL: Source, https://github.com/jupyter/testpath
Provides-Extra: test

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()

