source: publico/ILSAAL/trunk/tests/testSAAL1.py @ 1084

Última Alteração nesse arquivo desde 1084 foi 1084, incluída por jeanferri, 14 anos atrás

Atualizada a versão do ArchGenXml para 1.4 RC1

File size: 2.5 KB
Linha 
1# File: testSAAL1.py
2#
3# Copyright (c) 2005 by Interlegis
4# Generator: ArchGenXML Version 1.4.0-RC1 devel
5#            http://plone.org/products/archgenxml
6#
7# GNU General Public Licence (GPL)
8#
9# This program is free software; you can redistribute it and/or modify it under
10# the terms of the GNU General Public License as published by the Free Software
11# Foundation; either version 2 of the License, or (at your option) any later
12# version.
13# This program is distributed in the hope that it will be useful, but WITHOUT
14# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
16# details.
17# You should have received a copy of the GNU General Public License along with
18# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19# Place, Suite 330, Boston, MA  02111-1307  USA
20#
21__author__  = '''STC Interlegis <stc@interlegis.gov.br>'''
22__docformat__ = 'plaintext'
23
24import os, sys
25if __name__ == '__main__':
26    execfile(os.path.join(sys.path[0], 'framework.py'))
27
28##code-section module-header #fill in your manual code here
29##/code-section module-header
30
31#
32# test-cases for class(es) SAAL
33#
34import os, sys
35from Testing import ZopeTestCase
36from Products.ILSAAL.tests.SAALTestCase import SAALTestCase
37# import the tested classes
38from Products.ILSAAL.SAAL import SAAL
39
40##code-section module-beforeclass #fill in your manual code here
41##/code-section module-beforeclass
42
43
44class testSAAL1(SAALTestCase):
45    """ test-cases for class(es) SAAL
46    """
47
48    ##code-section class-header_testSAAL1 #fill in your manual code here
49    ##/code-section class-header_testSAAL1
50
51    def afterSetUp(self):
52        """
53        """
54        pass
55
56
57    # from class SAAL:
58    def test___init__(self):
59        """
60        """
61        #Uncomment one of the following lines as needed
62        ##self.loginAsPortalOwner()
63        ##o=SAAL('temp_SAAL')
64        ##self.folder._setObject('temp_SAAL', o)
65        pass
66
67
68    # from class SAAL:
69    def test_saal_menu(self):
70        """
71        """
72        #Uncomment one of the following lines as needed
73        ##self.loginAsPortalOwner()
74        ##o=SAAL('temp_SAAL')
75        ##self.folder._setObject('temp_SAAL', o)
76        pass
77
78
79
80    # Manually created methods
81
82def test_suite():
83    from unittest import TestSuite, makeSuite
84    suite = TestSuite()
85    suite.addTest(makeSuite(testSAAL1))
86    return suite
87
88##code-section module-footer #fill in your manual code here
89##/code-section module-footer
90
91
92if __name__ == '__main__':
93    framework()
94
95
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.