'String value for EnumValue should be its key string.'

def test_str_key(self):

    for (enumtype, params) in self.valid_values.items():
        for (key, instance) in params['values'].items():
            self.failUnlessEqual(key, str(instance))
