withdraw/tests/test_init.py
dni ⚡ a44820f61f
feat: add linters and ci (#28)
* feat: introduce linting and ci
* add locks
* prettier
* black and sorting
* f405 missing imports
* E902
* mypy
* renderer
* circular imports
* check comment
* add exports
* add lnurlerrorhandler only on lnurl routes
* add test case
2024-07-11 10:30:28 +02:00

11 lines
235 B
Python

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