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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pytest-aiofiles-0.2.0.tar.gz.

File metadata

File hashes

Hashes for pytest-aiofiles-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e0b767dcaf1ac7130734a4a828e311fa894cfb09b13825fb252ee66593885785
MD5 33b8bec1fc9896032726774f840e80c5
BLAKE2b-256 df3ea9ee95fc7d4d7cf465c90098a3498466a998751999cea4189609b06bea4e

See more details on using hashes here.

File details

Details for the file pytest_aiofiles-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_aiofiles-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4a6f89e152e2c602dd1aa41e8fa0a45a70910f9e0f15fb7fa5123e878562a1
MD5 55c128f7dbaf57be3e55b96d8a115830
BLAKE2b-256 eb50bf00abf9293eba2bad684fbef01d54a2a7146c31ec47d2d069b70cc8f489

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