tests/category.py

changeset 93
ffe05d369412
parent 89
d2b277cb948e
--- a/tests/category.py	Mon Jun 24 17:31:47 2019 +0300
+++ b/tests/category.py	Mon Jun 24 17:34:30 2019 +0300
@@ -18,7 +18,8 @@
     )
 )
 def category_test(model):
-    if model.header.valid:
+    # Only test the category if the description does not start with a '~'
+    if model.header.valid and not model.header.description.startswith('~'):
         categories = library_standards['categories']
         illegal_categories_in_description = [
             category_name.lower()

mercurial