Mon, 24 Jun 2019 17:34:30 +0300
don't check the category of '~'-files
tests/category.py | file | annotate | diff | comparison | revisions |
--- 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()