File: session-scoped-mock-7f1c98d9a91bffc8.yaml

package info (click to toggle)
python-requests-mock 1.12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: python: 2,339; makefile: 162
file content (8 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
---
features:
  - |
    Allow mocking of only a single Session object. While there has always been
    the option of adding just the Adapter to an existing Session, this is more
    difficult to work with than the Mocker workflow that is typically used. You
    can now pass a Session object to a Mocker and it will provide the standard
    workflow but limited to just that object.