예제 #1
0
def suite():
    # This is a classmethod which is present in all the KamTestCases. The
    # method returns a unittest-compatible TestCase, that will behave as
    # explained above, but through the standard unittest API. Thanks to this,
    # these tests can be integrated in any framework which relies on unittest,
    # so it may be easily integrated into software as apycot or CruiseControl, 
    # etc.
    unittestCompatibleTestCase = SimpleComponentTestCase.getTestCase()
    return KamTestCase.makeSuite(unittestCompatibleTestCase)
예제 #2
0
def suite():
    """
    This method is not required, but it's useful to build a unittest-compatible
    TestSuite

    This is a classmethod which is present in all the KamTestCases.
    
    The method returns a unittest-compatible TestCase, that will behave as
    explained above, but through the standard unittest API.
    
    Thanks to this, these tests can be integrated in any framework which
    relies on unittest, so it may be easily integrated into software as
    apycot or CruiseControl, etc.
    """

    unittestCompatibleTestCase = SimpleComponentTestCase.getTestCase()
    return KamTestCase.makeSuite(unittestCompatibleTestCase)
예제 #3
0
def suite():
    return KamTestCase.makeSuite(PostSorterTestCase.getTestCase())
예제 #4
0
def suite():
    return KamTestCase.makeSuite(SimpleHTTPClientTestCase.getTestCase())
def suite():
    return KamTestCase.makeSuite(KamTemplateProcessorTestCase.getTestCase())
예제 #6
0
def suite():
    return KamTestCase.TestSuite((
        KamTestCase.makeSuite(FeedParserTestCase.getTestCase()),
        KamTestCase.makeSuite(FeedParserFactoryTestCase.getTestCase()),
    ))
예제 #7
0
def suite():
    return KamTestCase.makeSuite(PostSorterTestCase.getTestCase())
def suite():
    return KamTestCase.makeSuite(ForwarderComponentTestCase.getTestCase())
예제 #9
0
def suite():
    return KamTestCase.makeSuite(ConfigFileParserTestCase.getTestCase())
예제 #10
0
def suite():
    return KamTestCase.makeSuite(ConfigFileParserTestCase.getTestCase())
예제 #11
0
def suite():
    return KamTestCase.makeSuite(IntegrationTestCase.getTestCase())
예제 #12
0
def suite():
    return KamTestCase.makeSuite(ForwarderComponentTestCase.getTestCase())
예제 #13
0
def suite():
    return KamTestCase.makeSuite(SimpleHTTPClientTestCase.getTestCase())
예제 #14
0
def suite():
    return KamTestCase.makeSuite(SimpleComponentTestCase.getTestCase())
def suite():
    return KamTestCase.makeSuite(GeneralObjectParserTestCase.getTestCase())
def suite():
    return KamTestCase.makeSuite(KamTemplateProcessorTestCase.getTestCase())
예제 #17
0
def suite():
    return KamTestCase.makeSuite(
            MessagingThroughPipelineTestCase.getTestCase()
        )
예제 #18
0
def suite():
    return KamTestCase.makeSuite(SimpleSampleTestCase.getTestCase())
예제 #19
0
def suite():
    return KamTestCase.makeSuite(IntegrationTestCase.getTestCase())
예제 #20
0
def suite():
    return KamTestCase.makeSuite(SimpleComponentTestCase.getTestCase())
예제 #21
0
def suite():
    return KamTestCase.TestSuite((
                KamTestCase.makeSuite(FeedParserTestCase.getTestCase()), 
                KamTestCase.makeSuite(FeedParserFactoryTestCase.getTestCase()), 
            ))