Skip to main content

pytest fixtures for writing aiofiles tests with pyfakefs

Project description

https://img.shields.io/circleci/project/github/ptpb/pytest-aiofiles.svg https://img.shields.io/codecov/c/github/ptpb/pytest-aiofiles.svg https://img.shields.io/pypi/v/pytest-aiofiles.svg

pytest-aiofiles provides pytest fixtures for writing aiofiles tests using pyfakefs, instead of real file IO.

Features

  • fake filesystem fixture attached to aiofiles

  • automatic aiofiles monkey-patching

Documentation

http://pytest-aiofiles.readthedocs.io/

Source code

http://github.com/ptpb/pytest-aiofiles

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

pytest-aiofiles-0.2.0.tar.gz (4.8 kB view hashes)

Uploaded source

Built Distribution

pytest_aiofiles-0.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page