Skip to main content

'Helpers to use requests_mock and responses with a Flask test client.'

Project description

Build Status codecov PyPI Documentation Status

requests-mock-flask

Tool for…

Installation

Requires Python 3.8+.

pip install requests-mock-flask

Usage example

import requests_mock_flask

with responses...

Why would I use this

Any time a test suite calls flask app w…

Full documentation

See the full documentation for information on all available commands.

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

requests-mock-flask-2020.1.20.2.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

requests_mock_flask-2020.1.20.2-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file requests-mock-flask-2020.1.20.2.tar.gz.

File metadata

  • Download URL: requests-mock-flask-2020.1.20.2.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for requests-mock-flask-2020.1.20.2.tar.gz
Algorithm Hash digest
SHA256 d1caff1ea123751db8dc00625aefc99c61278ee87111a96caecdf97675c7b290
MD5 58240c6e53614e28fff8e6e6dba8a837
BLAKE2b-256 d2dcae692fb550de8c26d5b77f1335de05ccc38031672ece67e73b8bf2da0248

See more details on using hashes here.

File details

Details for the file requests_mock_flask-2020.1.20.2-py2.py3-none-any.whl.

File metadata

  • Download URL: requests_mock_flask-2020.1.20.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for requests_mock_flask-2020.1.20.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cb99f9093aee0f421917b4bb90319d945b6763e397ce18bd64f083b9dcb2501
MD5 bf14e263efdc3b029c43e9391a456362
BLAKE2b-256 79d8bdc89b531a337a34d2dcd06beed2abb679f38f5e87dc910aae1c5e9101dc

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