This commit is contained in:
Asif Saif Uddin (Auvi) 2020-05-15 17:58:06 +06:00
parent 7b4139d046
commit e431bfaa14

View File

@ -97,7 +97,7 @@ class FormatSuffixTests(TestCase):
def test_format_suffix_django2_args(self): def test_format_suffix_django2_args(self):
urlpatterns = [ urlpatterns = [
path('convtest/<int:pk>', dummy_view), path('convtest/<int:pk>', dummy_view),
path('retest/<int:pk>', dummy_view), re_path(r'^retest/(?P<pk>[0-9]+)$', dummy_view),
] ]
test_paths = [ test_paths = [
URLTestPath('/convtest/42', (), {'pk': 42}), URLTestPath('/convtest/42', (), {'pk': 42}),