Skip to content

Kludex/starlette-testclient

Repository files navigation

starlette-testclient

Latest Commit
Package version

This is a backport of Starlette's TestClient using requests instead of httpx.

The reason behind here is to give more time for people to migrate.

Installation

pip install starlette-testclient

Usage

You just need to replace the import statement from:

from starlette.testclient import TestClient

to:

from starlette_testclient import TestClient

Easy, right? 😅

License

This project is licensed under the terms of the BSD 3-Clause license.

About

A backport of Starlette's TestClient using requests! ⏪️

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages