()
| 3 | |
| 4 | |
| 5 | def test_router_circular_import(): |
| 6 | router = APIRouter() |
| 7 | |
| 8 | with pytest.raises( |
| 9 | AssertionError, |
| 10 | match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?", |
| 11 | ): |
| 12 | router.include_router(router) |
nothing calls this directly
no test coverage detected
searching dependent graphs…