コード例 #1
0
ファイル: test_productsearch.py プロジェクト: Joaldino/stoq
    def tearDown(self):
        GUITest.tearDown(self)

        # Reset the permitions so they wont influence other tests
        pm = PermissionManager.get_permission_manager()
        pm.set('Product', PermissionManager.PERM_ALL)
コード例 #2
0
 def tearDown(self):
     sysparam.set_int(self.store, 'COST_PRECISION_DIGITS', 2)
     GUITest.tearDown(self)
コード例 #3
0
ファイル: test_config_wizard.py プロジェクト: sarkis89/stoq
 def setUp(self):
     GUITest.setUp(self)
     self.settings = None
コード例 #4
0
ファイル: test_productsearch.py プロジェクト: leandrodax/stoq
    def tearDown(self):
        GUITest.tearDown(self)

        # Reset the permitions so they wont influence other tests
        pm = PermissionManager.get_permission_manager()
        pm.set('Product', PermissionManager.PERM_ALL)
コード例 #5
0
ファイル: test_config_wizard.py プロジェクト: Guillon88/stoq
 def setUp(self):
     GUITest.setUp(self)
     self.settings = None
コード例 #6
0
 def tearDown(self):
     sysparam.set_int(self.store, 'COST_PRECISION_DIGITS', 2)
     GUITest.tearDown(self)
コード例 #7
0
ファイル: test_producteditor.py プロジェクト: rosalin/stoq
 def tearDown(self):
     sysparam(self.store).update_parameter(
         u'COST_PRECISION_DIGITS', u'2')
     GUITest.tearDown(self)