Skip to content

Tests for network backends. #721

Description

@lovelydinosaur

Although we have test coverage for our network backends, we're not currently testing against them directly.
Since #699 added the network backends to the public API we should also implement some tests against them.

There's three classes of test case that we'd want covered here...

  • Tests for the backends, without TLS.
  • Tests for the backends, with TLS.
  • Tests for the backends, with TLS-in-TLS.

I'd suggest that we start just by implementing some test cases for the first of those, with tests for each of...

  • httpcore.SyncBackend
  • httpcore.AnyIOBackend
  • httpcore.TrioBackend

So, just testing connecting, reading, writing.

Punching this one directly into an issue, since I think it's clear enough to not require a discussion phase.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests & coverage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions