'Enumeration class should iterate over its values.'

def test_iterable(self):

    for (enumtype, params) in self.valid_values.items():
        for (i, value) in enumerate(enumtype):
            key = params['keys'][i]
            test_value = params['values'][key]
        self.failUnlessEqual(value, test_value)
