Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Generate the module header.

Watch out: generate at least the encoding header, the rest is
optional.

src/a/r/archgenxml-2.6/src/archgenxml/tests/testArcheTypesGenerator.py   archgenxml(Download)
    def test_generateModuleInfoHeader(self):
        self.options.update(author='Äöü€')
        generator = ArchetypesGenerator('/dev/null', **self.options)
        result = generator.generateModuleInfoHeader(self.model)
        assert u'Copyright (c) 2010 by Äöü€ <author@example.org>' in result