From 6a0c462f6996f661aacba1cdadd1433a50ed3584 Mon Sep 17 00:00:00 2001 From: marcelsafin <179933638+marcelsafin@users.noreply.github.com> Date: Sat, 11 Jul 2026 00:59:11 +0200 Subject: [PATCH] test(workflows): accept redirect_validator kwarg in step-add open_url fakes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/test_workflows.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_workflows.py b/tests/test_workflows.py index cad52b148..495cdacff 100644 --- a/tests/test_workflows.py +++ b/tests/test_workflows.py @@ -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)