Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 918 Bytes

README.rst

File metadata and controls

45 lines (26 loc) · 918 Bytes

betamax_matchers

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)