Skip to content
Snippets Groups Projects
Commit fa5c6b2e authored by Constance de Quatrebarbes's avatar Constance de Quatrebarbes
Browse files

Review: Nicer user msg

parent c4033343
No related branches found
No related tags found
No related merge requests found
...@@ -133,5 +133,5 @@ TOP_CATEGORIES = [ ...@@ -133,5 +133,5 @@ TOP_CATEGORIES = [
] ]
# TESTS # TESTS
assert(len(TOP_CATEGORIES) == TOP_CATEGORIES_NB), "Wrong number of top categories 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" 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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment