# testpath **Repository Path**: mirrors_adamchainz/testpath ## Basic Information - **Project Name**: testpath - **Description**: Test utilities for Python code working with files and commands - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 `_ e.g.:: import testpath testpath.assert_isfile(path) with testpath.assert_calls('git', ['add', path]): function_under_test()