Update tests/test_dispatcher/test_router.py

This commit is contained in:
Alex Root Junior 2023-02-12 00:24:02 +02:00 committed by GitHub
parent 0af295a76e
commit 6da4351531
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ class TestRouter:
def test_including_many_routers_bad_type(self):
router = Router()
with pytest.raises(ValueError, match="You must provide routers"):
with pytest.raises(ValueError, match="At least one router must be provided"):
router.include_routers()
def test_include_router_by_string_bad_type(self):