From 7674db0ed5a128a36d6ec0ae8f59bf3d5b0bbd70 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 30 Jan 2013 11:34:58 +0100 Subject: [PATCH] [FIX] The import test in openerp/run_tests is wrong, the import of run_tests in openerp/__init__ was wrong too. lp bug: https://launchpad.net/bugs/1108929 fixed bzr revid: vmt@openerp.com-20130130103458-t4stvpibhb1353nw --- openerp/__init__.py | 2 -- openerp/run_tests.py | 29 ----------------------------- 2 files changed, 31 deletions(-) delete mode 100644 openerp/run_tests.py diff --git a/openerp/__init__.py b/openerp/__init__.py index c9db7076e71..1db7b616199 100644 --- a/openerp/__init__.py +++ b/openerp/__init__.py @@ -35,10 +35,8 @@ import osv import pooler import release import report -import run_tests import service import sql_db -import test import tools import workflow # backward compatilbility diff --git a/openerp/run_tests.py b/openerp/run_tests.py deleted file mode 100644 index 4735bc9f331..00000000000 --- a/openerp/run_tests.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010 OpenERP S.A. http://www.openerp.com -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# 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 . -# -############################################################################## - -import unittest - -import test - -if __name__ == '__main__': - unittest.TextTestRunner(verbosity=2).run(unittest.defaultTestLoader.loadTestsFromModule(test)) - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: