From fa5c6b2e3dc428db4d7ee0f0f25f073c95490037 Mon Sep 17 00:00:00 2001
From: Constance de Quatrebarbes <constance.24barbes@cepremap.org>
Date: Mon, 9 Oct 2017 11:05:32 +0200
Subject: [PATCH] Review: Nicer user msg

---
 dares_settings.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dares_settings.py b/dares_settings.py
index 63ca297..7068214 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
-- 
GitLab