tests/__init__.py
changeset 77 bef7196f7682
parent 75 f94c06cfcc0e
child 79 747554808944
equal deleted inserted replaced
76:2f659ff51c75 77:bef7196f7682
     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
     6 import test_http, test_treeparse
     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     ))
    16     ))
    16 
    17