Skip to main content
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description: betamax_matchers
================

Experimental set of Matchers for `Betamax
<https://github.com/sigmavirus24/betamax>`_ that may possibly end up in the
main package.

JSON Body Matcher
-----------------

Usage:

.. code-block:: python

from betamax_matchers.json_body import JSONBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(JSONBodyMatcher)

Form URL Encoded Body Matcher
-----------------------------

Usage:

.. code-block:: python

from betamax_matchers.form_urlencoded import URLEncodedBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(URLEncodedBodyMatcher)

Multipart Form Data Body Matcher
--------------------------------

Usage:

.. code-block:: python

from betamax_matchers.multipart import MultipartFormDataBodyMatcher

from betamax import Betamax

Betamax.register_request_matcher(MultipartFormDataBodyMatcher)


0.4.0 - 2017-01-16
------------------

- Remove support for python 3.2.
- Change json-body matcher to pass when the recorded request has the same
content type as the issued request, and the content type is not json.
- Update ``JSONBodyMatcher`` to work with requests 2.11+.

0.3.0 - 2016-04-16
------------------

- Update for breaking changes in ``betamax`` 0.6.0

0.2.0 - 2015-06-17
------------------

- Add ``MultipartFormDataBodyMatcher``

0.1.0 - 2014-08-20
------------------

- Add ``JSONBodyMatcher``

- Add ``URLEncodedBodyMatcher``

Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython

Metadata

Release files for betamax-matchers 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for betamax-matchers 0.4.0
File Size Uploaded
betamax-matchers-0.4.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for betamax-matchers 0.4.0
File Interpreter ABI Platform
betamax_matchers-0.4.0-py2-none-any.whl Python 2 none any Details

Total release size: 11.4 kB

Release files / betamax-matchers-0.4.0.tar.gz

Download URL betamax-matchers-0.4.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
83609d39ac25a7eed8ad3bec426cd15e647c89b4f0f1583ec44a4481bde4171f
BLAKE2b-256 checksum
How to use checksums
7e3171e2badb382bddd7521f2c2effaac7b2de01ae25b816b02459c2986aef0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / betamax_matchers-0.4.0-py2-none-any.whl

Download URL betamax_matchers-0.4.0-py2-none-any.whl
Size 7.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c940603cba9da4567b083647346f7b43961b309f1e549131e340af5f3bc514c4
BLAKE2b-256 checksum
How to use checksums
6212feb669fc1a68c87e76ce789694cd72fb53925a3f460f32982ee2cf0220cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page