From 3790ad71cbd4feb981ae0f80e223cca1d33de435 Mon Sep 17 00:00:00 2001 From: alex-clawd Date: Tue, 19 May 2026 16:38:32 -0700 Subject: [PATCH] fix: update test assertions to match tightened error messages --- lib/crewai/tests/skills/test_registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crewai/tests/skills/test_registry.py b/lib/crewai/tests/skills/test_registry.py index 5ebc92eef..8b720c5b7 100644 --- a/lib/crewai/tests/skills/test_registry.py +++ b/lib/crewai/tests/skills/test_registry.py @@ -46,11 +46,11 @@ class TestParseRegistryRef: parse_registry_ref("@acme-skill") def test_empty_org(self) -> None: - with pytest.raises(ValueError, match="non-empty org and name"): + with pytest.raises(ValueError, match="non-empty"): parse_registry_ref("@/my-skill") def test_empty_name(self) -> None: - with pytest.raises(ValueError, match="non-empty org and name"): + with pytest.raises(ValueError, match="non-empty"): parse_registry_ref("@acme/")