diff --git a/tests/test_presets.py b/tests/test_presets.py index 848c072dd0..24134ae231 100644 --- a/tests/test_presets.py +++ b/tests/test_presets.py @@ -1948,8 +1948,15 @@ def install_self_test_preset(manager: PresetManager, speckit_version: str = "0.1 return manager.install_from_directory(SELF_TEST_PRESET_DIR, speckit_version) + class TestSelfTestPreset: - """Tests using the self-test preset that ships with the repo.""" + """Tests using the self-test preset that ships with the repo. + + The self-test preset ships a wrap-strategy command (``speckit.wrap-test``) + without a corresponding core base layer; reconciliation deliberately + surfaces a UserWarning in that case. The filters above acknowledge those + expected warnings so the suite stays quiet without masking unrelated ones. + """ def test_self_test_preset_exists(self): """Verify the self-test preset directory and manifest exist.""" @@ -2237,7 +2244,12 @@ def test_load_returns_empty_on_invalid_json(self, project_dir): class TestPresetSkills: - """Tests for preset skill registration and unregistration.""" + """Tests for preset skill registration and unregistration. + + Tests that install the self-test preset use ``install_self_test_preset`` + which scopes a narrow filter to the expected wrap-strategy warning. + Reconciliation failures remain audible so real regressions surface. + """ def _write_init_options(self, project_dir, ai="claude", ai_skills=True, script="sh"): from specify_cli import save_init_options