testpath 0.6.0
pip install testpath
Latest version
Released:
Test utilities for code working with files and commands
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License
- Author: Jupyter Development Team
- Requires: Python >= 3.5
Classifiers
- Intended Audience
- License
- Programming Language
- Topic
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
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License
- Author: Jupyter Development Team
- Requires: Python >= 3.5
Classifiers
- Intended Audience
- License
- Programming Language
- Topic
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 Distribution
Built Distribution
File details
Details for the file testpath-0.6.0.tar.gz
.
File metadata
- Download URL: testpath-0.6.0.tar.gz
- Upload date:
- Size: 93.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f |
|
MD5 | 9fd4339f76da12d15bc718e4aa2566e9 |
|
BLAKE2b-256 | 08ada3e7d580902f57e31d2181563fc4088894692bb6ef79b816344f27719cdc |
File details
Details for the file testpath-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: testpath-0.6.0-py3-none-any.whl
- Upload date:
- Size: 83.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ada9f80a2ac6fb0391aa7cdb1a7d11cfa8429f693eda83f74dde570fe6fa639 |
|
MD5 | 281de6bcd32e45d9408010d9c3df8ca7 |
|
BLAKE2b-256 | 86431ebfb29c2ca1df2bdb33dbcb2b526b77ee96873ba7b9e25650ddd4ae7156 |