From 8b22c20061f7b22e6940681613b6824da73afa05 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Sun, 28 Jun 2026 22:00:23 -0400 Subject: [PATCH] fix(tests): tighten stash reset proof for agent update (#5156) --- tests/test_update_banner_fixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_update_banner_fixes.py b/tests/test_update_banner_fixes.py index da6b4000..73df0cc4 100644 --- a/tests/test_update_banner_fixes.py +++ b/tests/test_update_banner_fixes.py @@ -863,7 +863,7 @@ class TestAgentUpdateRequiresGatewayRestart: return '', False if args[0] == 'stash': return '', True - if args[:2] == ['reset', '--hard', 'HEAD']: + if args[:3] == ['reset', '--hard', 'HEAD']: return '', True if args[0] == 'pull': return 'Updating', True