Migrate test version 3.4

This commit is contained in:
resteve 2014-11-18 18:45:38 +01:00
parent d71821c390
commit 05a2f38466

View file

@ -1,36 +1,25 @@
# This file is part of account_payment_es_csb_32 module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.tests.test_tryton import test_view, test_depends
import os
import sys
import trytond.tests.test_tryton
import unittest
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
'..', '..', '..', '..', '..', 'trytond')))
if os.path.isdir(DIR):
sys.path.insert(0, os.path.dirname(DIR))
import doctest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import test_view, test_depends
from trytond.tests.test_tryton import doctest_setup, doctest_teardown
class AccountPaymentEsCSB32TestCase(unittest.TestCase):
'''
Test Account Payment ES CSB 32 module.
'''
'''Test Account Payment ES CSB 32 module'''
def setUp(self):
trytond.tests.test_tryton.install_module('account_payment_es_csb_32')
def test0005views(self):
'''
Test views.
'''
'''Test views'''
test_view('account_payment_es_csb_32')
def test0006depends(self):
'''
Test depends.
'''
'''Test depends'''
test_depends()
@ -39,6 +28,3 @@ def suite():
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
AccountPaymentEsCSB32TestCase))
return suite
if __name__ == '__main__':
unittest.TextTestRunner(verbosity=2).run(suite())