Test utilities for code working with files and commands
Project description
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.
e.g.:
import testpath testpath.assert_isfile(path) with testpath.assert_calls('git', ['add', path]): function_under_test()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for testpath-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b74569231c862fcc0dd8a190a0bee8775353868b831f7212f766c72644420fc9 |
|
MD5 | b6293c37d70fcaed3fa19f357765b0d9 |
|
BLAKE2b-256 | a9a13ea2f6838ad99d7825852c155055f457b9b8748372317bff18d81ed9e696 |