Skip to content

Demo about async test for FastAPI with Tortoise-orm using pytest.

License

Notifications You must be signed in to change notification settings

nhnhwsnh/fastapi-tortoise-pytest-demo

 
 

Repository files navigation

fastapi-tortoise-pytest-demo

Async Test Demo for FastAPI+Tortoise-orm+Pytest

  • Python3.8+ is required

Install

python3 -m venv venv
source venv/bin/activate
pip install -U pip fastapi tortoise-orm pytest httpx asyncpg python-dotenv

Run Test

python -m pytest

About

Demo about async test for FastAPI with Tortoise-orm using pytest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%