Skip to content

Better test case consistency. Prefer import httpx and httpx.Client. - #1222

Merged
lovelydinosaur merged 4 commits into
masterfrom
prefer-client-in-tests
Aug 26, 2020
Merged

Better test case consistency. Prefer import httpx and httpx.Client.#1222
lovelydinosaur merged 4 commits into
masterfrom
prefer-client-in-tests

Conversation

@lovelydinosaur

@lovelydinosaurlovelydinosaur commented Aug 26, 2020

Copy link
Copy Markdown
Member
  • Prefer import httpx rather than using from httpx import ....
  • Prefer using httpx.Client() rather than httpx.AsyncClient unless there's a reason to be using async.

Required footprint for #1219 should be much smaller after this.

@lovelydinosaurlovelydinosaur changed the title Prefer httpx.Client test cases, unless required.Better test case consistency. Prefer import httpx and httpx.Client.Aug 26, 2020
@lovelydinosaur
lovelydinosaur marked this pull request as ready for review August 26, 2020 11:57
@lovelydinosaur
lovelydinosaur merged commit 28c7205 into masterAug 26, 2020
@lovelydinosaur
lovelydinosaur deleted the prefer-client-in-tests branch August 26, 2020 13:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lovelydinosaur@florimondmanca