Vcrpy

Latest version: v6.0.1

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 11

1.1.4

Add force reset around calls to actual connection from stubs, to ensure compatibility with the version of httplib/urlib2 in python 2.7.9.

1.1.3

Fix python3 headers field (thanks rtaboada), fix boto test (thanks telaviv), fix new_episodes record mode (thanks jashugan), fix Windows connectionpool stub bug (thanks gazpachoking)

1.1.2

Also: Make json serialize error handling correct. Improve logging of match failures.

1.1.1

Use function signature preserving `wrapt.decorator` to write the
decorator portion of use_cassette in order to ensure compatibility with
py.test fixtures and python 2. Move all request filtering into the
`before_record_callable`.

1.1.0

- Move context management of use_cassette into CassetteContextDecorator so that a separate cassette is created for each invocation of a use_cassette decorated function.
- VCR now passes a callable to CassetteContextDecorator (instead of passing the arguments for cassette creation) so that changes to the VCRs default configuration can propagate to functions that have already been decorated.
- Add mock and contextlib2 as dependencies.
- Do all patching through mock.patch. This made it so that CassetteContextDecorators actually stack properly.
- Remove **enter** and **exit** from Cassette class.
- Add before_record_response hook to Cassette and VCR classes. This is mainly for the purpose of scrubbing responses.
- Version bump (1.0.3 -> 1.1.0).
- Remove contextdecorator dependency.

1.0.3

Fixes a bug with the requests 2.4 stub.

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.