[FIX] website: import full_path
authorChristophe Matthieu <chm@openerp.com>
Tue, 21 Jan 2014 10:05:24 +0000 (11:05 +0100)
committerChristophe Matthieu <chm@openerp.com>
Tue, 21 Jan 2014 10:05:24 +0000 (11:05 +0100)
bzr revid: chm@openerp.com-20140121100524-elxz0n8qfve1iefr

addons/website_blog/tests/test_ui.py
addons/website_event/tests/test_ui.py
addons/website_sale/tests/test_ui.py

index 694bbab..dad6a47 100644 (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
\ No newline at end of file
index 5706e7a..52cce70 100644 (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
\ No newline at end of file
index bde975f..68ba5dc 100644 (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
\ No newline at end of file