1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #28766 -- Added ResolverMatch.route.

Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
This commit is contained in:
Benjamin Wohlwend
2017-11-02 17:35:41 +01:00
committed by Tim Graham
parent ad191d9e01
commit 79c196cfb2
8 changed files with 65 additions and 8 deletions

View File

@@ -1130,7 +1130,7 @@ class ResolverMatchTests(SimpleTestCase):
repr(resolve('/no_kwargs/42/37/')),
"ResolverMatch(func=urlpatterns_reverse.views.empty_view, "
"args=('42', '37'), kwargs={}, url_name=no-kwargs, app_names=[], "
"namespaces=[])"
"namespaces=[], route=^no_kwargs/([0-9]+)/([0-9]+)/$)",
)