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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size testpath-0.4.4-py2.py3-none-any.whl (163.9 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size testpath-0.4.4.tar.gz (92.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for testpath-0.4.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfcf9411ef4bf3db7579063e0546938b1edda3d69f4e1fb8756991f5951f85d4 |
|
MD5 | 5e03fa02495b35f9c33a3303ebe10349 |
|
BLAKE2-256 | 1b9e1a170feaa54f22aeb5a5d16c9015e82234275a3c8ab630b552493f9cb8a9 |