def put_string(self, uri, text):
        self._collection[uri] = Template(
                                    text,
                                    lookup=self,
                                    uri=uri,
                                    **self.template_args)
Test slug validation.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/mako/lookup.py/TemplateLookup.put_string--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/helpers/test_config_validation.py/test_slug