From 22ab9255e23bb347d0827801d516e3c5ba1dba91 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 02:49:45 +0000 Subject: [PATCH] fix(test): simplify always-false conditional in patch decorator Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/test_wizard_db_persist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wizard_db_persist.py b/tests/test_wizard_db_persist.py index bd87bc1f..2ed98f85 100644 --- a/tests/test_wizard_db_persist.py +++ b/tests/test_wizard_db_persist.py @@ -112,7 +112,7 @@ class TestSetupWizardUndoSkip: location = response.headers.get("location", "") assert "/setup" in location or "/settings" in location - @patch("app.views.wizard.delete_setting_from_db" if False else "app.utils.settings_service.delete_setting_from_db") + @patch("app.utils.settings_service.delete_setting_from_db") def test_undo_skip_calls_delete(self, mock_delete, client): """Test that undo-skip calls delete_setting_from_db.""" mock_delete.return_value = True