mirror of
https://github.com/NaN-tic/trytond-account_payment_es_csb_32.git
synced 2023-12-14 06:23:05 +01:00
Tests
This commit is contained in:
parent
886a46c7cc
commit
401d3da281
1 changed files with 7 additions and 18 deletions
|
@ -1,29 +1,18 @@
|
|||
#!/usr/bin/env python
|
||||
# This file is part of the 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 trytond.tests.test_tryton
|
||||
import unittest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class AccountPaymentEsCSB32TestCase(unittest.TestCase):
|
||||
'''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_view('account_payment_es_csb_32')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
class AccountPaymentEsCsb32TestCase(ModuleTestCase):
|
||||
'Test Account Payment Es Csb 32 module'
|
||||
module = 'account_payment_es_csb_32'
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
AccountPaymentEsCSB32TestCase))
|
||||
return suite
|
||||
AccountPaymentEsCsb32TestCase))
|
||||
return suite
|
Loading…
Reference in a new issue