[IMP] point_of_sale: tests work better when they are loaded and run by the unit test system!

This commit is contained in:
Frederic van der Essen 2014-07-23 16:23:38 +02:00
parent 59396b45f5
commit db9a06b842
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import openerp.tests
@openerp.tests.common.at_install(False)
@openerp.tests.common.post_install(True)
class TestUi(openerp.tests.HttpCase):
def test_01_pos_basic_order(self):
self.phantom_js("/", "openerp.Tour.run('pos_basic_order', 'test')", "openerp.Tour.tours.pos_basic_order", login="admin")