tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind
https://tortoise.github.io
Apache License 2.0
4.39k stars 357 forks source link

fix: blacksheep example unittest error(#1534) #1538

Closed waketzheng closed 6 months ago

waketzheng commented 6 months ago

Description

Motivation and Context

The document of blacksheep suggests to use pytest_asyncio for async test, so I add it to dev group, and change _tests.py to be in accordance with blacksheep's demo.

How Has This Been Tested?

make test
cd examples/blacksheep && PYTHONPATH=. pytest _tests.py

Checklist: