Test utilities for code working with files and commands
Project Links
Meta
Author: Jupyter Development Team
Requires Python: >= 3.5
Classifiers
Intended Audience
- Developers
License
- OSI Approved :: BSD License
Programming Language
- Python
- Python :: 3
Topic
- Software Development :: Testing
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()
Feb 23, 2022
0.6.0
May 17, 2021
0.5.0
Nov 04, 2019
0.4.4
Nov 04, 2019
0.4.3
Oct 02, 2018
0.4.2
Sep 27, 2018
0.4.1
Sep 27, 2018
0.4
May 24, 2017
0.3.1
Feb 04, 2016
0.3
Mar 31, 2015
0.2
Feb 02, 2015
0.1