./www/py-betamax, VCR imitation for python-requests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.0, Package name: py27-betamax-0.8.0, Maintainer: pkgsrc-users

Betamax is a VCR_ imitation for requests. This will make mocking out requests
much easier. It is tested on 'Travis CI'.

Put in a more humorous way: "Betamax records your HTTP interactions so the NSA
does not have to."


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-requests]

Required to build:
[devel/py-test]

Master sites:

SHA1: f01bfe5d550fa1e222b234502deb1f87c695b989
RMD160: 1a7fca2e26791172c179d5b75287cfbc8cec40fb
Filesize: 76.561 KB

Version history: (Expand)


CVS history: (Expand)


   2016-08-24 12:48:47 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-betamax to 0.8.0.

0.8.0 - 2016-08-16
------------------

- Add ``betamax_parametrized_recorder`` and ``betamax_parametrized_session``
  to our list of pytest fixtures so that users will have parametrized cassette
  names when writing parametrized tests with our fixtures. (I wonder if I can
  mention parametrization a bunch more times so I can say parametrize a lot in
  this bullet note.)
- Add ``ValidationError`` and a set of subclasses for each possible validation
  error.
- Raise ``InvalidOption`` on unknown cassette options rather than silently
  ignoring extra options.
- Raise a subclass of ``ValidationError`` when a particular cassette option is
  invalid, rather than silently ignoring the validation failure.
   2016-08-19 13:40:20 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-betamax to 0.7.2.

0.7.2 - 2016-08-04
------------------

- Fix bug with query string matcher where query-strings without values (e.g.,
  ``?foo&bar`` as opposed to ``?foo=1&bar=2``) were treated as if there were
  no query string.
   2016-06-30 19:42:56 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-betamax to 0.7.1.

0.7.1 - 2016-06-14
------------------

- Fix issue #108 by effectively copying the items in the match_requests_on
  list into the match_options set on a Cassette instance
   2016-06-08 19:49:20 by Thomas Klausner | Files touched by this commit (15)
Log message:
Switch to MASTER_SITE_PYPI.
   2016-05-05 13:37:32 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py35-betamax to 0.7.0.

0.7.0 - 2016-04-29
------------------

- Add ``before_record`` and ``before_playback`` hooks

- Allow per-cassette placeholders to be merged and override global
  placeholders

- Fix bug where the ``QueryMatcher`` failed matching on high Unicode points
   2016-04-17 11:59:39 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Update py-betamax to 0.6.0.

0.6.0 - 2016-04-12
------------------

- Add ``betamax_recorder`` pytest fixture

- Change default behaviour to allow duplicate interactions to be recorded in
  single cassette

- Add ``allow_playback_repeats`` to allow an interaction to be used more than
  once from a single cassette

- Always return a new ``Response`` object from an Interaction to allow for a
  streaming response to be usable multiple times

- Remove CI support for Pythons 2.6 and 3.2
   2015-12-04 22:46:47 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py34-betamax-0.5.1 as www/py-betamax.

Betamax is a VCR_ imitation for requests. This will make mocking out requests
much easier. It is tested on 'Travis CI'.

Put in a more humorous way: "Betamax records your HTTP interactions so the NSA
does not have to."