forked from pysimplesoap/pysimplesoap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuite.py
40 lines (31 loc) · 1.02 KB
/
suite.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
import unittest
def add(suite, module):
suite.addTest(unittest.TestLoader().loadTestsFromModule(module))
def test():
# TODO: automagicaly import modules test/*_test.py
from . import soapdispatcher_test
from . import simplexmlelement_test
from . import issues_test
from . import afip_test
from . import server_multins_test
# licencias_tests is for internal use, wsdl is not published
# from . import licencias_test
# from . import trazamed_test
from . import cfdi_mx_test
from . import sri_ec_test
from . import nfp_br_test
suite = unittest.TestSuite()
add(suite, soapdispatcher_test)
add(suite, simplexmlelement_test)
add(suite, issues_test)
add(suite, afip_test)
add(suite, server_multins_test)
##add(suite, licencias_test)
##add(suite, trazamed_test)
add(suite, cfdi_mx_test)
add(suite, sri_ec_test)
add(suite, nfp_br_test)
unittest.TextTestRunner(verbosity=2).run(suite)
if __name__ == '__main__':
test()