METADATA 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. Metadata-Version: 2.1
  2. Name: testpath
  3. Version: 0.4.4
  4. Summary: Test utilities for code working with files and commands
  5. Home-page: https://github.com/jupyter/testpath
  6. License: UNKNOWN
  7. Author: Jupyter Development Team
  8. Author-email: jupyter@googlegroups.com
  9. Description-Content-Type: text/x-rst
  10. Classifier: Intended Audience :: Developers
  11. Classifier: License :: OSI Approved :: BSD License
  12. Classifier: Programming Language :: Python
  13. Classifier: Programming Language :: Python :: 2
  14. Classifier: Programming Language :: Python :: 3
  15. Classifier: Topic :: Software Development :: Testing
  16. Requires-Dist: pathlib2; extra == "test" and ( python_version == "2.7")
  17. Project-URL: Documentation, https://testpath.readthedocs.io/en/latest/
  18. Provides-Extra: test
  19. Testpath is a collection of utilities for Python code working with files and commands.
  20. It contains functions to check things on the filesystem, and tools for mocking
  21. system commands and recording calls to those.
  22. `Documentation on ReadTheDocs <https://testpath.readthedocs.io/en/latest/>`_
  23. e.g.::
  24. import testpath
  25. testpath.assert_isfile(path)
  26. with testpath.assert_calls('git', ['add', path]):
  27. function_under_test()