mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 14:01:56 +08:00
Add SimpleTestCase.assertURLEqual() (#1102)
This commit is contained in:
@@ -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