Skip to main content

A simple mock filesystem for unit tests

Project description

https://img.shields.io/pypi/v/mockfs.svg https://img.shields.io/pypi/pyversions/mockfs.svg

mockfs – A simple mock filesystem for unit tests

mockfs makes it possible to test filesystem-dependent code by replacing functions from the os and glob modules.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mockfs-2.0.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

mockfs-2.0.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file mockfs-2.0.1.tar.gz.

File metadata

  • Download URL: mockfs-2.0.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for mockfs-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f7c4f2e84266b686524f0fc32d856cd81a5fcce0532d36e5a1008630dc0920f3
MD5 c944e946d22998c096dfd513ec14fde4
BLAKE2b-256 4507a1e304898c857e9d7d914bdd4421ea7430043e86fe15e947c573289caa7f

See more details on using hashes here.

File details

Details for the file mockfs-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: mockfs-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for mockfs-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbaabf1921eff9005e36fd55a3d916f8dbc38e8ed04f78d4b2f5d93bc92efb42
MD5 b6208c30fdfadb5b004b742f945006ce
BLAKE2b-256 4d2c812dc88fda75684b4dc698bbd4436127343b5a21ebaae67fd676c6df174a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page