~ubuntu-branches/ubuntu/vivid/python-docutils/vivid

« back to all changes in this revision

Viewing changes to test/test_settings.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2012-12-18 15:06:21 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20121218150621-htq5khi7gvpex9yp
Tags: 0.10-0ubuntu1
* New upstream stable release.
* debian/patches/disable_py33_failing_tests.diff: add DEP-3 headers.
* Merged 0.9.1-2 changes from Debian.
* Bumped Standards-Version to 3.9.4, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
 
3
 
# $Id$
 
3
# $Id: test_settings.py 7539 2012-11-26 13:50:06Z milde $
4
4
# Author: David Goodger <goodger@python.org>
5
5
# Copyright: This module has been placed in the public domain.
6
6
 
39
39
 
40
40
    settings = {
41
41
        'old': {u'datestamp': u'%Y-%m-%d %H:%M UTC',
42
 
                u'generator': 1,
43
 
                u'no_random': 1,
 
42
                u'generator': True,
 
43
                u'no_random': True,
44
44
                u'python_home': u'http://www.python.org',
45
 
                u'source_link': 1,
 
45
                u'source_link': True,
46
46
                'stylesheet': None,
47
47
                u'stylesheet_path': [fixpath(u'data/stylesheets/pep.css')],
48
48
                'template': fixpath(u'data/pep-html-template')},
49
49
        'one': {u'datestamp': u'%Y-%m-%d %H:%M UTC',
50
 
                u'generator': 1,
51
 
                u'no_random': 1,
 
50
                u'generator': True,
 
51
                u'no_random': True,
52
52
                u'python_home': u'http://www.python.org',
53
 
                u'raw_enabled': 0,
 
53
                u'raw_enabled': False,
54
54
                'record_dependencies': utils.DependencyList(),
55
 
                u'source_link': 1,
 
55
                u'source_link': True,
56
56
                'stylesheet': None,
57
57
                u'stylesheet_path': [fixpath(u'data/stylesheets/pep.css')],
58
58
                u'tab_width': 8,
59
59
                u'template': fixpath(u'data/pep-html-template'),
60
 
                u'trim_footnote_reference_space': 1,
 
60
                u'trim_footnote_reference_space': True,
61
61
               },
62
62
        'two': {u'footnote_references': u'superscript',
63
 
                u'generator': 0,
 
63
                u'generator': False,
64
64
                'record_dependencies': utils.DependencyList(),
65
65
                u'stylesheet': None,
66
66
                u'stylesheet_path': [fixpath(u'data/test.css')],