diff options
| author | rpa (Open ERP) <rpa@tinyerp.com> | 2010-06-07 11:49:34 +0530 |
|---|---|---|
| committer | rpa (Open ERP) <rpa@tinyerp.com> | 2010-06-07 11:49:34 +0530 |
| commit | 66274f35fd71a904845239dc641bfaf71188c72f (patch) | |
| tree | 84e4bc319c34e9d67a4cab0bc2769d606eeb144d /addons/base_module_quality/structure_test/structure_test.py | |
| parent | 51d01c84031996ceca0654c8d61ade4f0755e3d5 (diff) | |
| parent | 7df4ef23ff6f3c631e7cd9db2e560aaf40bddb37 (diff) | |
[MERGE]: Merge with lp:~openerp-dev/openobject-addons/ksa-dev-addons2
bzr revid: rpa@tinyerp.com-20100607061934-xduupe5nmsrjv5ta
Diffstat (limited to 'addons/base_module_quality/structure_test/structure_test.py')
| -rw-r--r-- | addons/base_module_quality/structure_test/structure_test.py | 6 |
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) |
