[IMP] rename into test_ui like addons

bzr revid: al@openerp.com-20140209231948-5tqj0nndsod0gyb1
This commit is contained in:
Antony Lesuisse 2014-02-10 00:19:48 +01:00
parent 1f67b2165c
commit 8790ae76fc
6 changed files with 5 additions and 15 deletions

View File

@ -15,12 +15,12 @@ import test_mail
import test_menu
import test_orm
import test_osv
import test_phantom
import test_qweb
import test_res_config
import test_res_lang
import test_search
import test_translate
import test_ui
#import test_uninstall
import test_view_validation
import test_views

View File

@ -1,6 +0,0 @@
// Load helper
phantom.injectJs(phantom.args[0]);
pt = new PhantomTest();
pt.run_admin("/", "console.log('ok')", "console");

View File

@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
import os
import glob
import openerp
class test_phantom(openerp.tests.HttpCase):
def test_phantom(self):
fname, _ = os.path.splitext(__file__)
fname, _ = os.path.splitext(__file__)
class TestUi(openerp.tests.HttpCase):
def test(self):
for i in glob.glob('%s*.js' % fname):
self.phantomjs(openerp.modules.module.get_module_resource('base','tests', i))

View File

@ -33,8 +33,4 @@ class test_xmlrpc(common.HttpCase):
# with self.assertRaisesRegexp(Exception, msg_re):
# self.proxy.edi_60.import_edi_document(DB, ADMIN_USER_ID, ADMIN_PASSWORD, {})
if __name__ == '__main__':
unittest2.main()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: