tests/e2e: don't use reverse for self.shell_url
This commit is contained in:
parent
2335ccddaa
commit
578326eccd
|
@ -111,9 +111,9 @@ class SeleniumTestCase(StaticLiveServerTestCase):
|
|||
"""reverse `view` with `**kwargs` into full URL using live_server_url"""
|
||||
return self.live_server_url + reverse(view, kwargs=kwargs)
|
||||
|
||||
def shell_url(self, view, **kwargs) -> str:
|
||||
def shell_url(self, view) -> str:
|
||||
"""same as self.url() but show URL in shell"""
|
||||
return f"{self.live_server_url}/#{reverse(view, kwargs=kwargs)}"
|
||||
return f"{self.live_server_url}/#{view}"
|
||||
|
||||
def get_shadow_root(
|
||||
self, selector: str, container: Optional[WebElement] = None
|
||||
|
|
Reference in New Issue