Skip to content

Commit e5e9c8f

Browse files
committed
✅ Add test for disabling a single route
1 parent e5a6455 commit e5e9c8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_dependencies/test_disable.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ def delete_all_client(request):
2828
impl, dsn = request.param
2929

3030
app, router, settings = impl(db_uri=dsn)
31-
[app.include_router(router(**s, delete_all_route=False, update_route=False)) for s in settings]
31+
[
32+
app.include_router(router(**s, delete_all_route=False, update_route=False))
33+
for s in settings
34+
]
3235

3336
yield from yield_test_client(app, impl)
3437

0 commit comments

Comments
 (0)