summaryrefslogtreecommitdiff
path: root/addons/base_module_quality/structure_test/structure_test.py
diff options
context:
space:
mode:
authoruco (OpenERP) <uco@tinyerp.com>2010-06-09 14:27:16 +0530
committeruco (OpenERP) <uco@tinyerp.com>2010-06-09 14:27:16 +0530
commit0c993c8661ad15add55cfcdb725ffa21e4172a2e (patch)
tree4225179bcd6089d080977664f4f5a525c5f3cf54 /addons/base_module_quality/structure_test/structure_test.py
parentf68e4a449de2e212214d8c2ab36e691a6f6d738b (diff)
parent1f69980dbc6c9cfddc8bbaa03cac0e63d6574f3f (diff)
[MERGE]: Merged with lp:~openerp-dev/openobject-addons/trunk-dev-addons2
bzr revid: uco@tinyerp.com-20100609085716-rmztysdo3cwkdpn6
Diffstat (limited to 'addons/base_module_quality/structure_test/structure_test.py')
-rw-r--r--addons/base_module_quality/structure_test/structure_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base_module_quality/structure_test/structure_test.py b/addons/base_module_quality/structure_test/structure_test.py
index 466976f5d17..10b80aaacdd 100644
--- a/addons/base_module_quality/structure_test/structure_test.py
+++ b/addons/base_module_quality/structure_test/structure_test.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
@@ -15,7 +15,7 @@
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
@@ -82,7 +82,7 @@ This test checks if the module satisfy tiny structure
# module files calculation (module.py,module_view.xml,etc..)
com_list = ['_unit_test.xml', '.py', '_view.xml', '_workflow.xml' , '_wizard.xml', '_report.xml', '_data.xml', '_demo.xml', '_security.xml', '_sequence.xml', '_graph.xml']
com_list = map(lambda x: module_name + x, com_list)
- main_file = ['__init__.py', '__terp__.py']
+ main_file = ['__init__.py', '__openerp__.py']
com_list.extend(main_file)
module_dict['module'] = filter(lambda x: len(x.split(".")) > 1, module_dict['module'])
score = self.get_score(module_dict['module'], com_list)