/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/EncodingAdapter.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
 
77
77
encoding_scenarios = [
78
 
        # Permutation 1 of utf-8
79
 
        ('utf-8,1', {
80
 
            'info': {
81
 
                'committer': _erik,
82
 
                'message': _yellow_horse,
83
 
                'filename': _shrimp_sandwich,
84
 
                'directory': _nihonjin,
85
 
                },
86
 
            'encoding': 'utf-8',
87
 
            }),
88
 
        # Permutation 2 of utf-8
89
 
        ('utf-8,2', {
90
 
            'info': {
91
 
                'committer': _alexander,
92
 
                'message': u'Testing ' + _mu,
93
 
                'filename': _shalom,
94
 
                'directory': _juju,
95
 
                },
96
 
            'encoding': 'utf-8',
97
 
            }),
98
 
        ('iso-8859-1', {
99
 
            'info': {
100
 
                'committer': _erik,
101
 
                'message': u'Testing ' + _mu,
102
 
                'filename': _juju_alt,
103
 
                'directory': _shrimp_sandwich,
104
 
                },
105
 
            'encoding': 'iso-8859-1',
106
 
            }),
107
 
        ('iso-8859-2', {
108
 
            'info': {
109
 
                'committer': _someone,
110
 
                'message': _yellow_horse,
111
 
                'filename': _yellow,
112
 
                'directory': _something,
113
 
                },
114
 
            'encoding': 'iso-8859-2',
115
 
            }),
116
 
        ('cp1251', {
117
 
            'info': {
118
 
                'committer': _alexander,
119
 
                'message': u'Testing ' + _mu,
120
 
                'filename': _russian_test,
121
 
                'directory': _russian_test + 'dir',
122
 
                },
123
 
            'encoding': 'cp1251',
124
 
            }),
125
 
# The iso-8859-1 tests run on a default windows cp437 installation
126
 
# and it takes a long time to run an extra permutation of the tests
127
 
# But just in case we want to add this back in:
128
 
#        ('cp437', {'committer':_erik
129
 
#                  , 'message':u'Testing ' + _mu
130
 
#                  , 'filename':'file_' + _omega
131
 
#                  , 'directory':_epsilon + '_dir',
132
 
#            'encoding': 'cp437'}),
 
78
    # Permutation 1 of utf-8
 
79
    ('utf-8,1', {
 
80
        'info': {
 
81
            'committer': _erik,
 
82
            'message': _yellow_horse,
 
83
            'filename': _shrimp_sandwich,
 
84
            'directory': _nihonjin,
 
85
            },
 
86
        'encoding': 'utf-8',
 
87
        }),
 
88
    # Permutation 2 of utf-8
 
89
    ('utf-8,2', {
 
90
        'info': {
 
91
            'committer': _alexander,
 
92
            'message': u'Testing ' + _mu,
 
93
            'filename': _shalom,
 
94
            'directory': _juju,
 
95
            },
 
96
        'encoding': 'utf-8',
 
97
        }),
 
98
    ('iso-8859-1', {
 
99
        'info': {
 
100
            'committer': _erik,
 
101
            'message': u'Testing ' + _mu,
 
102
            'filename': _juju_alt,
 
103
            'directory': _shrimp_sandwich,
 
104
            },
 
105
        'encoding': 'iso-8859-1',
 
106
        }),
 
107
    ('iso-8859-2', {
 
108
        'info': {
 
109
            'committer': _someone,
 
110
            'message': _yellow_horse,
 
111
            'filename': _yellow,
 
112
            'directory': _something,
 
113
            },
 
114
        'encoding': 'iso-8859-2',
 
115
        }),
 
116
    ('cp1251', {
 
117
        'info': {
 
118
            'committer': _alexander,
 
119
            'message': u'Testing ' + _mu,
 
120
            'filename': _russian_test,
 
121
            'directory': _russian_test + 'dir',
 
122
            },
 
123
        'encoding': 'cp1251',
 
124
        }),
 
125
    # The iso-8859-1 tests run on a default windows cp437 installation
 
126
    # and it takes a long time to run an extra permutation of the tests
 
127
    # But just in case we want to add this back in:
 
128
    #        ('cp437', {'committer':_erik
 
129
    #                  , 'message':u'Testing ' + _mu
 
130
    #                  , 'filename':'file_' + _omega
 
131
    #                  , 'directory':_epsilon + '_dir',
 
132
    #            'encoding': 'cp437'}),
133
133
    ]