test(#4085): preserve version badge dirtiness

This commit is contained in:
Rod Boev committed 2026-08-01 11:55:30 -04:00
1 parent 678a1ee926
commit f6903c4f34
1 file changed
+1 -1
+1 -1
View File
@@ -141,7 +141,7 @@ class TestDetectWebUIVersion:
if args[:3] == ['describe', '--tags', '--always']: if args[:3] == ['describe', '--tags', '--always']:
return ('v0.50.123', True) return ('v0.50.123', True)
if args[:2] == ['diff-index', '--quiet']: if args[:2] == ['diff-index', '--quiet']:
return ('', False) return ('git exited with status 1', False)
return ('unexpected', False) return ('unexpected', False)
result = self._fresh_detect(mock_run_git=fake_run_git, tmp_path=tmp_path) result = self._fresh_detect(mock_run_git=fake_run_git, tmp_path=tmp_path)