🚨 Made flake8 happy

This commit is contained in:
Mawoka
2022-04-09 10:29:55 +02:00
parent ebc007ef1d
commit 87920b055c
20 changed files with 60 additions and 49 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
from classquiz.kahoot_importer.get import get
import pytest
from classquiz.kahoot_importer.get import get
@pytest.mark.asyncio
async def test_get():
+3 -1
View File
@@ -1,10 +1,12 @@
from classquiz.kahoot_importer.search import search
import pytest
from classquiz.kahoot_importer.search import search
@pytest.mark.asyncio
async def test_search():
res = await search(query="Python", limit=100)
print(res)
assert len(res.entities) == 100
await search(query="Test Quiz", limit=100)
await search(query="Biologie", limit=100)
+1
View File
@@ -1,4 +1,5 @@
import pytest
from classquiz.config import settings
from classquiz.storage import Storage