[FIX] website: import full_path

bzr revid: chm@openerp.com-20140121100524-elxz0n8qfve1iefr
This commit is contained in:
Christophe Matthieu 2014-01-21 11:05:24 +01:00
parent 849fc19aa1
commit 5d78f8f064
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import openerp.addons.website.tests.test_ui as test_ui,full_path
import openerp.addons.website.tests.test_ui as test_ui
def load_tests(loader, base, _):
base.addTest(test_ui.WebsiteUiSuite(full_path(__file__,'post_test.js'), { 'action': 'website.action_website_homepage' }, 60.0))
base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'post_test.js'), { 'action': 'website.action_website_homepage' }, 60.0))
return base

View File

@ -1,5 +1,5 @@
import openerp.addons.website.tests.test_ui as test_ui,full_path
import openerp.addons.website.tests.test_ui as test_ui
def load_tests(loader, base, _):
base.addTest(test_ui.WebsiteUiSuite(full_path(__file__,'event_test.js'), { 'action': 'website.action_website_homepage' }, 60.0))
base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'event_test.js'), { 'action': 'website.action_website_homepage' }, 60.0))
return base

View File

@ -1,6 +1,6 @@
import openerp.addons.website.tests.test_ui as test_ui,full_path
import openerp.addons.website.tests.test_ui as test_ui
def load_tests(loader, base, _):
base.addTest(test_ui.WebsiteUiSuite(full_path(__file__,'website_sale-sale_process-test.js'),
base.addTest(test_ui.WebsiteUiSuite(test_ui.full_path(__file__,'website_sale-sale_process-test.js'),
{ 'action': 'website.action_website_homepage' }, 60.0))
return base