'Comparison method should have matching name for attribute.'

def test_comparison_method_has_matching_name(self):

    for compare_func in compare_functions:
        func_name = compare_func.__name__
        expect_name = func_name
        compare_method = getattr(enum.EnumValue, func_name)
        self.failUnlessEqual(expect_name, compare_method.__name__)
