🚨 Made flake8 happy
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from classquiz.config import settings
|
||||
from classquiz.storage import Storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user