Skip to content

Commit

Permalink
improve scope test
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Aug 2, 2022
1 parent 7855090 commit ee23313
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions semantic-conventions/src/tests/data/yaml/scope.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
groups:
- id: scope
prefix: scope
- id: scope-id
prefix: scopeprefix
type: scope
brief: >
Instrumentation Scope attributes
attributes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ee23313

Please sign in to comment.