boltcards/tests/test_init.py
2024-08-29 12:24:15 +02:00

11 lines
237 B
Python

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