Skip to content

Commit 185afcc

Browse files
committed
test empty description
1 parent df90bd2 commit 185afcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_common_metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ def test_common_metadata_basics(self) -> None:
176176
x.common_metadata.description = example_description
177177
self.assertEqual(x.common_metadata.description, example_description)
178178
self.assertEqual(x.properties["description"], example_description)
179+
with self.assertRaises(ValueError):
180+
x.common_metadata.description = ""
179181

180182
# License
181183
license = "PDDL-1.0"

0 commit comments

Comments
 (0)