# HG changeset patch # User Teemu Piippo # Date 1561386870 -10800 # Node ID ffe05d3694128bbbef5bdc5657d4681ed51091ea # Parent b8d72909d593d70360e9f19d1aa1eda861a894c4 don't check the category of '~'-files diff -r b8d72909d593 -r ffe05d369412 tests/category.py --- 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()