[FIX] website_event tests

bzr revid: al@openerp.com-20140210013203-f1ow6lm34wma4xv3
This commit is contained in:
Antony Lesuisse 2014-02-10 02:32:03 +01:00
parent 9c7f132a7a
commit d8c5a1c4c2
3 changed files with 5 additions and 8 deletions

View File

@ -19,7 +19,6 @@
#
##############################################################################
import test_controllers
#import test_ui
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,5 +1,6 @@
import openerp.addons.website.tests.test_ui as test_ui
import openerp
class TestUi(openerp.tests.HttpCase):
def test_admin(self):
self.phantom_js("/", "openerp.website.Tour.run_test('event')", "openerp.website.Tour")
def load_tests(loader, base, _):
base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'event_test.js'), {'redirect': '/page/website.homepage'}, 60.0))
return base

View File

@ -1,3 +0,0 @@
var testRunner = require('../../../website/tests/ui_suite/ui_test_runner.js');
testRunner.run_test('event');