comparison test/test_init.py @ 4818:edb171528a7d

init.loadTemplateInfo: replace rfc822 with email.parser (Python 3 compatible)
author anatoly techtonik <techtonik@gmail.com>
date Sat, 24 Aug 2013 22:40:30 +0300
parents 9b3e09a50d85
children 364c54991861
comparison
equal deleted inserted replaced
4817:785bd25371d3 4818:edb171528a7d
13 self.assertEqual( 13 self.assertEqual(
14 loadTemplateInfo(path), 14 loadTemplateInfo(path),
15 { 15 {
16 'description': textwrap.dedent('''\ 16 'description': textwrap.dedent('''\
17 This is a generic issue tracker that may be used to track bugs, 17 This is a generic issue tracker that may be used to track bugs,
18 feature requests, project issues or any number of other types 18 feature requests, project issues or any number of other types
19 of issues. Most users of Roundup will find that this template 19 of issues. Most users of Roundup will find that this template
20 suits them, with perhaps a few customisations.'''), 20 suits them, with perhaps a few customisations.'''),
21 'intended-for': 'All first-time Roundup users', 21 'intended-for': 'All first-time Roundup users',
22 'name': 'classic', 22 'name': 'classic',
23 'path': path 23 'path': path
24 } 24 }
25 ) 25 )

Roundup Issue Tracker: http://roundup-tracker.org/