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/")