corrections
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s

This commit is contained in:
Julian Lechner committed 2026-11-19 10:30:43 +01:00
1 parent b35e2254b3
commit c3e22eb902
39 files changed
+246 -151

No files matched your search

+3 -8
View File
@@ -365,17 +365,12 @@ class ManagedExtensionTests(unittest.TestCase):
with self.assertRaisesRegex(ValueError, 'Another install or update is running'):
extensions.acquire_lock(lock)
def test_selected_adhd_enables_always_on_flag_once(self):
def test_selected_adhd_does_not_enable_always_on_flag(self):
# plugin-workflow carries the response structure; the full always-on ruleset would duplicate it.
config = self.home / '.claude'
flag = config / '.i-have-adhd-always'
with patch.dict(os.environ, {'CLAUDE_CONFIG_DIR': str(config)}):
self.manager(dry_run=True).sync([plugin('i-have-adhd')], ['claude'], {'i-have-adhd'})
self.assertFalse(flag.exists())
for _ in range(2):
self.manager().sync([plugin('i-have-adhd')], ['claude'], {'i-have-adhd'})
self.assertTrue(flag.is_file())
flag.unlink()
self.manager().sync([plugin('Example')], ['claude'], {'Example'})
self.manager().sync([plugin('i-have-adhd')], ['claude'], {'i-have-adhd'})
self.assertFalse(flag.exists())
def test_dry_run_summary_has_one_line(self):