Added tests for terminated path with optional arguments in django.urls.reverse().
This commit is contained in:
parent
e286711879
commit
b24e763846
|
@ -180,6 +180,8 @@ test_data = (
|
|||
('named_optional', '/optional/1/', [], {'arg1': 1}),
|
||||
('named_optional', '/optional/1/2/', [1, 2], {}),
|
||||
('named_optional', '/optional/1/2/', [], {'arg1': 1, 'arg2': 2}),
|
||||
('named_optional_terminated', '/optional/1/', [1], {}),
|
||||
('named_optional_terminated', '/optional/1/', [], {'arg1': 1}),
|
||||
('named_optional_terminated', '/optional/1/2/', [1, 2], {}),
|
||||
('named_optional_terminated', '/optional/1/2/', [], {'arg1': 1, 'arg2': 2}),
|
||||
('hardcoded', '/hardcoded/', [], {}),
|
||||
|
|
Loading…
Reference in New Issue