mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
black
This commit is contained in:
@@ -723,7 +723,7 @@ def test_list_tool_cli(monkeypatch, capsys, host: str, target: str, tool_name: s
|
||||
def _mock_fetch_http(_, rest_of_url: str) -> str:
|
||||
if not rest_of_url.endswith("Updates.xml"):
|
||||
return htmltext
|
||||
folder = urlparse(rest_of_url).path.split('/')[-2]
|
||||
folder = urlparse(rest_of_url).path.split("/")[-2]
|
||||
assert folder.startswith("tools_")
|
||||
return xmltext
|
||||
|
||||
|
||||
Reference in New Issue
Block a user