mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-18 03:51:30 +08:00
Add SimpleTestCase.assertURLEqual() (#1102)
This commit is contained in:
1 parent
f626448105
commit
5b705d25da
1 file changed
+6
@@ -82,6 +82,12 @@ class SimpleTestCase(unittest.TestCase):
|
||||
msg_prefix: str = ...,
|
||||
fetch_redirect_response: bool = ...,
|
||||
) -> None: ...
|
||||
def assertURLEqual(
|
||||
self,
|
||||
url1: str | Any, # Any for reverse_lazy() support
|
||||
url2: str | Any,
|
||||
msg_prefix: str = ...,
|
||||
) -> None: ...
|
||||
def assertContains(
|
||||
self,
|
||||
response: HttpResponseBase,
|
||||
|
||||
Reference in new issue
Block a user