* 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
11 lines
235 B
Python
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)
|