diff --git a/semantic-conventions/src/tests/data/yaml/scope.yaml b/semantic-conventions/src/tests/data/yaml/scope.yaml index 85605e27..7cc8a3ef 100644 --- a/semantic-conventions/src/tests/data/yaml/scope.yaml +++ b/semantic-conventions/src/tests/data/yaml/scope.yaml @@ -1,6 +1,7 @@ groups: - - id: scope - prefix: scope + - id: scope-id + prefix: scopeprefix + type: scope brief: > Instrumentation Scope attributes attributes: diff --git a/semantic-conventions/src/tests/semconv/model/test_correct_parse.py b/semantic-conventions/src/tests/semconv/model/test_correct_parse.py index 94ef0dd9..07cc84c4 100644 --- a/semantic-conventions/src/tests/semconv/model/test_correct_parse.py +++ b/semantic-conventions/src/tests/semconv/model/test_correct_parse.py @@ -675,8 +675,9 @@ def test_scope_attribute(self): self.assertEqual(len(semconv.models), 1) expected = { - "id": "scope", - "prefix": "scope", + "id": "scope-id", + "prefix": "scopeprefix", + "type": "scope", "extends": "", "brief": "Instrumentation Scope attributes", "n_constraints": 0,