test(workflows): accept redirect_validator kwarg in step-add open_url fakes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
marcelsafin
2026-07-11 00:59:11 +02:00
parent a69bb180a1
commit 6a0c462f69

View File

@@ -6151,7 +6151,7 @@ class TestWorkflowStepAddCLI:
def geturl(self):
return self.url
def _fake_open_url(url, timeout=30):
def _fake_open_url(url, timeout=30, redirect_validator=None):
return _FakeResponse(url)
monkeypatch.setattr(StepCatalog, "get_step_info", _fake_get_step_info)
@@ -6210,7 +6210,7 @@ class TestWorkflowStepAddCLI:
def geturl(self):
return self.url
def _fake_open_url(url, timeout=30):
def _fake_open_url(url, timeout=30, redirect_validator=None):
return _FakeResponse(url)
monkeypatch.setattr(StepCatalog, "get_step_info", _fake_get_step_info)
@@ -6258,7 +6258,7 @@ class TestWorkflowStepAddCLI:
def geturl(self):
return self.url
def _fake_open_url(url, timeout=30):
def _fake_open_url(url, timeout=30, redirect_validator=None):
return _FakeResponse(url)
monkeypatch.setattr(StepCatalog, "get_step_info", _fake_get_step_info)