refactor and move tests

This commit is contained in:
collerek
2020-09-23 10:09:15 +02:00
parent ebd812bf00
commit 798475ae5f
9 changed files with 158 additions and 143 deletions

View File

@ -44,4 +44,4 @@ async def test_pk_1():
async def test_pk_2():
async with database:
model = await Model.objects.create(name="NAME")
assert await Model.objects.all() == [model]
assert await Model.objects.all() == [model]