Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Jul 9, 2024
1 parent 3503d35 commit c74add9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Empty file added tests/__init__.py
Empty file.
11 changes: 11 additions & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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)

0 comments on commit c74add9

Please sign in to comment.