puzzlestream package

puzzlestream.test(func)[source]

Test function wrapper.

This wrapper marks a function in a module as a test function. Example usage:

@test  
def testFunctionExample(stream):  
    return isinstance(stream["example"], int)

Subpackages