Skip to content

Get test suite back to 100% line coverage - #406

Merged
sethmlarson merged 3 commits into
masterfrom
coverage
Sep 29, 2019
Merged

Get test suite back to 100% line coverage#406
sethmlarson merged 3 commits into
masterfrom
coverage

Conversation

@sethmlarson

Copy link
Copy Markdown
Contributor

Getting our test suite back up to 100% so that #380 can land.

@sethmlarsonsethmlarson changed the title Road to 100Get test suite back to 100% line coverageSep 27, 2019
@sethmlarson

Copy link
Copy Markdown
ContributorAuthor

We're still not at 100%, especially because we have the Stream compatibility for Python 3.8 now.

So unless we want to mark all that code as pragma: no cover and only enforce coverage on Python 3.8 it looks like Codecov may be our only option.

@yeraydiazdiazyeraydiazdiaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this @sethmlarson it's never fun to go over line coverage.

Just left a few 👍 and a question.


async def test_http2_live_request(backend):
async with AsyncClient(backend=backend) as client:
resp = await client.get("https://nghttp2.org/httpbin/anything")

@yeraydiazdiazyeraydiazdiazSep 29, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could #412 help with this test?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely, it's a lot further out than we want this work completed though. Hopefully soon!

Comment threadtests/client/test_proxies.py
Comment threadtests/client/test_auth.py
@sethmlarson
sethmlarson merged commit 05f5dc2 into masterSep 29, 2019
@sethmlarson
sethmlarson deleted the coverage branch September 29, 2019 18:58
@florimondmanca

Copy link
Copy Markdown
Contributor

Great work on this one @sethmlarson 👏

Kludex referenced this pull request in pydantic/httpx2 May 11, 2026
Bumps [anyio](https://github.com/agronholm/anyio) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/anyio@3.3.0...3.3.2)
---
updated-dependencies:
- dependency-name: anyio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

3 participants

@sethmlarson@florimondmanca@yeraydiazdiaz