Update tests/test_versioning.py

This commit is contained in:
Asif Saif Uddin 2023-04-02 15:14:11 +06:00 committed by GitHub
parent f7067fbb42
commit 0e41f35b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,6 @@ class TestURLReversing(URLPatternsTestCase, APITestCase):
] ]
urlpatterns = [ urlpatterns = [
path('v1/', include((included, 'v1'), namespace='v1')), path('v1/', include((included, 'v1'), namespace='v1')),
path('another/', dummy_view, name='another'), path('another/', dummy_view, name='another'),
re_path(r'^(?P<version>[v1|v2]+)/another/$', dummy_view, name='another'), re_path(r'^(?P<version>[v1|v2]+)/another/$', dummy_view, name='another'),