Metadata-Version: 2.1 Name: testpath Version: 0.5.0 Summary: Test utilities for code working with files and commands Author-email: Jupyter Development Team 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 Requires-Dist: pytest ; extra == "test" Requires-Dist: pathlib2 ; extra == "test" and ( python_version == "2.7") 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 `_ e.g.:: import testpath testpath.assert_isfile(path) with testpath.assert_calls('git', ['add', path]): function_under_test()