fix(tests): tighten stash reset proof for agent update (#5156)

This commit is contained in:
Rod Boev authored and nesquena-hermes committed 2026-06-29 03:44:06 +00:00
1 parent 6d80dd41d6
commit 8b22c20061
1 file changed
+1 -1
+1 -1
View File
@@ -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