testpath

0.6.0last stable release 3 years ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
102
Weekly Downloadsglobal
883,399

License

  • BSD-3-Clause
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

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

Dependencies

CVE IssuesActive
0
Scorecards Score
3.90
Test Coverage
No Data
Follows Semver
No
Github Stars
28
Dependenciestotal
1
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute testpath in your own private PyPI registry

pip install testpath
Processing...
Done

11 Releases

PyPI on Cloudsmith

Getting started with PyPI on Cloudsmith is fast and easy.