'Enumeration should refuse attribute modification.'

def test_modify_attribute(self):

    for (enumtype, params) in self.valid_values.items():
        for key in params['keys']:
            self.failUnlessRaises(enum.EnumImmutableError, setattr, enumtype, key, 'bogus')
