Ponderations system on quality module

bzr revid: mra@tinyerp.com-20081230120110-nven6g8rirjgploi
This commit is contained in:
mra (Open ERP)
2008-12-30 17:31:10 +05:30
parent cc664b2597
commit 7afacab4f3
5 changed files with 23 additions and 5 deletions
@@ -38,6 +38,7 @@ class quality_test(base_module_quality.abstract_quality_check):
#
#"""
self.bool_installed_only = True
self.ponderation = 1.0
return None
def run_test(self, cr, uid, module_path, module_state):
@@ -84,7 +85,7 @@ class quality_test(base_module_quality.abstract_quality_check):
This test checks if the module classes are raising exception when calling basic methods or no.
""" + "Score: " + str(self.score) + "/10\n"
""" #+ "Score: " + str(self.score) + "/10\n"
else:
summary =""" \n===Method Test===: