diff --git a/dares_settings.py b/dares_settings.py index 63ca2975e58c8b3658b49641ad579b6967c51483..70682143247edba0b90ad029dc8b44e7316b58f9 100644 --- a/dares_settings.py +++ b/dares_settings.py @@ -133,5 +133,5 @@ TOP_CATEGORIES = [ ] # TESTS -assert(len(TOP_CATEGORIES) == TOP_CATEGORIES_NB), "Wrong number of top categories required" -assert(sum([top_cat["file_nb"] for top_cat in TOP_CATEGORIES]) == SOURCE_FILES_NB), "Wrong number of source files required" +assert(len(TOP_CATEGORIES) == TOP_CATEGORIES_NB), "Wrong number of top categories required:" + [TOP_CATEGORIES, TOP_CATEGORIES_NB] +assert(sum([top_cat["file_nb"] for top_cat in TOP_CATEGORIES]) == SOURCE_FILES_NB), "Wrong number of source files required:" + [sum([top_cat["file_nb"] for top_cat in TOP_CATEGORIES], SOURCE_FILES_NB] \ No newline at end of file