Skip to content

Release 0.10.0#32

Merged
Colin-b merged 10 commits intomasterfrom
develop
Oct 6, 2020
Merged

Release 0.10.0#32
Colin-b merged 10 commits intomasterfrom
develop

Conversation

@Colin-b
Copy link
Owner

@Colin-b Colin-b commented Oct 6, 2020

Added

  • Document how to assert that no requests were issued.
  • Document how to send cookies.
  • Explicit support for python 3.9

Changed

  • Requires httpx==0.16.*
  • Update documentation to reflect the latest way of sending bytes using httpx. Via content parameter instead of data.
  • Code now follow black==20.8b1 formatting instead of the git master version.
  • Sending a JSON response using json parameter will now set the application/json content-type header by default.

Fixed

  • Allow to provide any supported httpx headers type in headers parameter for httpx_mock.add_response and pytest_httpx.to_response. Previously only dict was supported.

@Colin-b Colin-b added this to the 0.10.0 milestone Oct 6, 2020
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Colin-b Colin-b merged commit 9a42c1d into master Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant