'Enumeration should have items for each value.'

def test_value_items(self):

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