just for sync
parent
d6f1347fab
commit
8f48352600
|
@ -1,7 +1,4 @@
|
||||||
import pytest
|
import pytest
|
||||||
from httpx import AsyncClient
|
|
||||||
|
|
||||||
url = "http://localhost:8000/api/v1/menus"
|
|
||||||
|
|
||||||
|
|
||||||
class TestCrud:
|
class TestCrud:
|
||||||
|
@ -141,8 +138,7 @@ class TestCrud:
|
||||||
submenu.update(rspn)
|
submenu.update(rspn)
|
||||||
|
|
||||||
# Удаляем подменю
|
# Удаляем подменю
|
||||||
code = await self.Submenu.delete(client, menu, submenu)
|
await self.Submenu.delete(client, menu, submenu)
|
||||||
assert code is None
|
|
||||||
|
|
||||||
# Проверяем меню
|
# Проверяем меню
|
||||||
code, rspn = await self.Menu.get(client, menu)
|
code, rspn = await self.Menu.get(client, menu)
|
||||||
|
|
Loading…
Reference in New Issue