satmachineclient/tests/test_init.py
dni ⚡ 42b5edaf5d feat: code quality
format

add ci

fixup ci
2024-08-13 08:20:45 +02:00

11 lines
241 B
Python

import pytest
from fastapi import APIRouter
from .. import myextension_ext
# just import router and add it to a test router
@pytest.mark.asyncio
async def test_router():
router = APIRouter()
router.include_router(myextension_ext)