summaryrefslogtreecommitdiff
path: root/addons/base_module_quality/structure_test/structure_test.py
diff options
context:
space:
mode:
authorMod2 Team (OpenERP) <>2010-06-24 12:43:42 +0530
committerHarry (OpenERP) <hmo@tinyerp.com>2010-06-24 12:43:42 +0530
commit52b0a8eaa6fa022587a46822cb921a6507690978 (patch)
tree8e7765953493908ec71caaff89de7f5dadcc5555 /addons/base_module_quality/structure_test/structure_test.py
parentb7a1ff4ef90ba31ef37c5ec0ae804f6b71228add (diff)
[IMP] base_module_quality
* replace __terp__ with __openerp__ in all tests. bzr revid: hmo@tinyerp.com-20100624071342-je03w5mouzlg0kmz
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)