From 189a0efa158ff5ad3566125ec36d1ac9596b7b19 Mon Sep 17 00:00:00 2001 From: huchenlei Date: Fri, 13 Sep 2024 15:32:40 +0900 Subject: [PATCH] nit --- tests-unit/prompt_server_test/user_manager_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests-unit/prompt_server_test/user_manager_test.py b/tests-unit/prompt_server_test/user_manager_test.py index 67e3aa0b5..c71050a2f 100644 --- a/tests-unit/prompt_server_test/user_manager_test.py +++ b/tests-unit/prompt_server_test/user_manager_test.py @@ -3,7 +3,10 @@ import os from aiohttp import web 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 def user_manager(tmp_path): @@ -85,6 +88,3 @@ async def test_listuserdata_invalid_directory(aiohttp_client, app): client = await aiohttp_client(app) resp = await client.get("/userdata?dir=") assert resp.status == 400 - - -# Add more tests as needed