Skip to content

Commit ff50adf

Browse files
committed
More tests
1 parent 57c7cf8 commit ff50adf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_web.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,8 @@ def test_app_error_in_finish_callbacks(self):
7777
'application': app,
7878
'message': 'Error in finish callback'}
7979
handler.assert_called_once_with(self.loop, exc_info)
80+
81+
def test_non_default_router(self):
82+
router = web.UrlDispatcher()
83+
app = web.Application(loop=self.loop, router=router)
84+
self.assertIs(router, app.router)

0 commit comments

Comments
 (0)