'Comparison method should have docstring.'

def test_comparison_method_has_docstring(self):

    for compare_func in compare_functions:
        func_name = compare_func.__name__
        compare_method = getattr(enum.EnumValue, func_name)
        self.failUnless(isinstance(compare_method.__doc__, basestring))
