From 8f483526009198cf1988f77fd276b4ad67184e16 Mon Sep 17 00:00:00 2001 From: Sergey Vanyushkin Date: Sat, 27 Jan 2024 16:28:55 +0000 Subject: [PATCH] just for sync --- tests/test_api.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_api.py b/tests/test_api.py index 8579376..6b012c6 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -1,7 +1,4 @@ import pytest -from httpx import AsyncClient - -url = "http://localhost:8000/api/v1/menus" class TestCrud: @@ -141,8 +138,7 @@ class TestCrud: submenu.update(rspn) # Удаляем подменю - code = await self.Submenu.delete(client, menu, submenu) - assert code is None + await self.Submenu.delete(client, menu, submenu) # Проверяем меню code, rspn = await self.Menu.get(client, menu)