tests/__init__.py
changeset 79 747554808944
parent 77 bef7196f7682
child 86 6ff1140586d6
equal deleted inserted replaced
78:a46d2fc07951 79:747554808944
     1 """
     1 """
     2     Our collection of unittest's for the various modules
     2     Our collection of unittest's for the various modules
     3 """
     3 """
     4 
     4 
     5 import unittest
     5 import unittest
     6 import test_http, test_treeparse
     6 import test_http, test_treeparse, test_urltree
     7 
     7 
     8 def all_tests () :
     8 def all_tests () :
     9     """
     9     """
    10         Return a TestSuite with all test cases loaded
    10         Return a TestSuite with all test cases loaded
    11     """
    11     """
    12     
    12     
    13     return unittest.TestSuite(unittest.defaultTestLoader.loadTestsFromModule(module) for module in (
    13     return unittest.TestSuite(unittest.defaultTestLoader.loadTestsFromModule(module) for module in (
    14         test_http,
    14         test_http,
    15         test_treeparse,
    15         test_treeparse,
       
    16         test_urltree,
    16     ))
    17     ))
    17 
    18