loongson/pypi/: testpath-0.5.0 metadata and description

Simple index

Test utilities for code working with files and commands

author_email Jupyter Development Team <jupyter@googlegroups.com>
classifiers
  • Intended Audience :: Developers
  • License :: OSI Approved :: BSD License
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Topic :: Software Development :: Testing
description_content_type text/x-rst
project_urls
  • Documentation, https://testpath.readthedocs.io/en/latest/
  • Source, https://github.com/jupyter/testpath
provides_extras test
requires_dist
  • pytest ; extra == 'test'
  • pathlib2 ; (python_version == "2.7") and extra == 'test'
requires_python >= 3.5

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
testpath-0.5.0-py3-none-any.whl
Size
83 KB
Type
Python Wheel
Python
3

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