def check_output(self, function, value, output=None):
        if output is None:
            output = value
        self.assertEqual(function(value), output)
Check that function(value) equals output.  If output is None,
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/checksums.py/TestUtilsChecksums.check_output