A VCR imitation for python-requests
Project description
Experimental set of Matchers for Betamax that may possibly end up in the main package.
JSON Body Matcher
Usage:
from betamax_matchers.json_body import JSONBodyMatcher
from betamax import Betamax
Betamax.register_request_matcher(JSONBodyMatcher)
Form URL Encoded Body Matcher
Usage:
from betamax_matchers.form_urlencoded import URLEncodedBodyMatcher
from betamax import Betamax
Betamax.register_request_matcher(URLEncodedBodyMatcher)
Multipart Form Data Body Matcher
Usage:
from betamax_matchers.multipart import MultipartFormDataBodyMatcher
from betamax import Betamax
Betamax.register_request_matcher(MultipartFormDataBodyMatcher)
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
betamax-matchers-0.2.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for betamax_matchers-0.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b16d906aaea1c93ee6900f12765feeb8ae2ec718ceef630d2d102fad9da42713 |
|
MD5 | c7d1749cd4cff125a4551c359cdc84c9 |
|
BLAKE2b-256 | 41796134470be9fe45bc744aa3344d9e6fdae25721775d8aea09658cced6fbd8 |