Skip to content

Commit

Permalink
test: add stability to attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Feb 22, 2024
1 parent 64262bc commit 27a4590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ groups:
attributes:
- id: enum_attr
brief: ""
stability: experimental
type:
members:
- id: one
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_experimental_attr_stable_member(self):
"member 'one' is marked as stable but it is not allowed on experimental attribute!",
msg,
)
self.assertEqual(e.line, 8)
self.assertEqual(e.line, 9)

def test_invalid_deprecated_empty_string(self):
with self.assertRaises(ValidationError) as ex:
Expand Down

0 comments on commit 27a4590

Please sign in to comment.