File: explicit-nesting-behaviour-4d28c310dc4c463a.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 (14 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
prelude: >
  Makes explicit the behaviour of nested mocking.
features:
  - |
    Nested mocks now has a defined behaviour which is essentially a classic
    nesting behaviour. A mock works as normal, but in the same way that
    real_http=True will escalate to the outer send (typically the real send) if
    there is a mocker defined outside that will handle the calls.
fixes:
  - |
    This fixes all known nesting bugs. They may not be perfect, however this is
    now the explicit defined behaviour and so all related bugs are closed in
    favour of this.