mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 02:00:04 +08:00
nit
This commit is contained in:
parent
6bd7accb5e
commit
189a0efa15
@ -3,7 +3,10 @@ import os
|
|||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
from app.user_manager import UserManager
|
from app.user_manager import UserManager
|
||||||
|
|
||||||
pytestmark = pytest.mark.asyncio # This applies the asyncio mark to all test functions in the module
|
pytestmark = (
|
||||||
|
pytest.mark.asyncio
|
||||||
|
) # This applies the asyncio mark to all test functions in the module
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def user_manager(tmp_path):
|
def user_manager(tmp_path):
|
||||||
@ -85,6 +88,3 @@ async def test_listuserdata_invalid_directory(aiohttp_client, app):
|
|||||||
client = await aiohttp_client(app)
|
client = await aiohttp_client(app)
|
||||||
resp = await client.get("/userdata?dir=")
|
resp = await client.get("/userdata?dir=")
|
||||||
assert resp.status == 400
|
assert resp.status == 400
|
||||||
|
|
||||||
|
|
||||||
# Add more tests as needed
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user